Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
4answers
57 views

Keeping Files Synced Across Two Servers

I have setup a web server running nginx and another server running php-fpm on Linode VMs. Nginx proxies all PHP requests off to the PHP backend and this works great. The problem, is that the actual ...
0
votes
0answers
11 views

PHP mail really slow on Mac OS X

I use PHP to send an email like this: mail($email_recipient,$mail_subject,$mail_body,"From: $email_sender\r\nReply-to: $email_sender\r\n"); The $mail_body is perhaps 1kb. $email_recipient = ...
0
votes
0answers
10 views

Embeded profiler for php [migrated]

I am not quite sure for what I am asking, so please excuse me if I am saying nonsense. I want to profile some php code, function by function so I need a profiler that can check block of code. I ...
1
vote
2answers
44 views

Installing PHP 5.2.17 Dependencies on Centos 5

I have followed the wget method here hoping it was my solution: Howto install php 5.2.17 on centos 6 x86_64 However I get the following error when trying to install: # rpm -ivh ...
1
vote
0answers
14 views

Install Old Version of PHP on Centos 6

I am trying to install php 5.2.17 on a CentoOS machine. Having problems as I have only used yum in the past. I have the file downloaded and unpacked...not clear on how I need to ./configure before ...
0
votes
3answers
57 views

SSH bind local port from PHP

PHP Code I've got a development environment, and am trying to access a remote database. Here's the code I'm using: $dbhost = '127.0.0.1:3307'; $dbuser = 'mydbuser'; $dbpassword = 'mydbpassword'; ...
1
vote
1answer
19 views

How to set up .httaccess to subfolder

I have these structure on my FTP: one presentation (without .htaccess) second presentation (with .htaccess) - named "sec_pres" third pres. (with .htaccess) - named - "third_pres" How I should ...
0
votes
0answers
20 views

Mounting truecrypt volume under PHP

I would like to mount a trucrypt volume using PHP, but I'm getting the following return value from the exec command: Enter keyfile [none]: This is how i tried: First try: truecrypt -p password ...
0
votes
0answers
22 views

MySQL socket with PHP and Python (MySQLdb)

Background info I'm currently running CentOS (or Red Hat?). uname -a gives (I edited out my domain name) Linux XXXXXXXXX.com 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 ...
0
votes
1answer
28 views

Upgrade back to php 5.3 in Ubuntu 11.04

Running 11.04 and I downgraded down to php5.2 due to some needs. I don't remember how. I'd like to get back up to 5.3 now. I'm trying to use apt-get upgrade but I get the following messages: $ sudo ...
1
vote
2answers
53 views

can not access http://localhost/phpmyadmin/

I installed wamp server2 it didn't have password and it had this error below then I went to mysql and set the password for root with this command and I can login using this password but again I can ...
0
votes
2answers
15 views

can not access http://localhost/phpmyadmin/

I installed wamp server2 it didn't have password and it had this error below then I went to mysql and set the password for root with this command and I can login using this password but again I can ...
0
votes
1answer
20 views

php 5.2.17 source code repository

The php developers do not support anymore php 5.2.17. However, normal apps are using this php instead of the new one, 5.3 branch (Whose idea was drop security support for 5.2.17? ). Normally we ...
0
votes
0answers
15 views

php.ini seems to be completely ignored [closed]

Possible Duplicate: php.ini seems to be completely ignored I'm working on a Dreamhost VPS, so I don't know if that has anything to do with this: The include_path entry in the php.ini file ...
1
vote
2answers
49 views

php.ini seems to be completely ignored

I'm working on a Dreamhost VPS, so I don't know if that has anything to do with this: The include_path entry in the php.ini file seems to be completely ignored. There are several php.ini files ...
0
votes
0answers
28 views

nginx + ajax = internal server error 500

i've running a nginx web server. my config: http://pastie.org/private/yuz8xvddwfguaeqnvopnaa Everything works fine - except when my ajax controller (ajax.php) is called. (It is called automatically ...
0
votes
1answer
27 views

Accessing Instances on e2c

I am hosting my website on 3 amazon instances but I cannot connect them together. I am using windows server 2008 and when I ping xxxxxxxxxxxxxxx.compute-1.amazonaws.com, I get request timed out. Using ...
0
votes
0answers
12 views

Changes applied to certain php files not reflecting at runtime

Problem Today, all of a sudden, we found that certain things in our LAMP based web application are not displaying results. So, just to debug the issue, we modified some files and found that applying ...
3
votes
1answer
63 views

Apache executes HTML, but not PHP; PHP CLI works

I am running php 5.3.3 on rhel 6.2 with Apache 2.2.15 and am failing to get PHP code interpreted by Apache. There are no errors (in the system log, httpd/error_log, or php_errors.log) - I have ...
-3
votes
1answer
24 views

How do you setup PHP to run as user as CGI?

Been trying lots of examples but nothing seems to be working. I don't wanna use yum/apt-get I want to do everything from source so I get a better understanding. Yum/apt-get just cheats the system and ...
-2
votes
1answer
41 views

How a file hosting script works? [closed]

I have to understand how a file hosting website works... So I need your help How can we upload file directly to the hosting server without access ? How is it possible to make link exist just for ...
1
vote
2answers
45 views

PHP add virtual host dynamically

I'm developing a PHP web application that, among other things, needs to allow the user to add, edit and delete Apache virtual host entries. (I'm Including a web-writable config file in my ...
2
votes
1answer
22 views

how can i install enable mcrypt without re-installing php?

I installed php 5.3.8 from source on Ubuntu 10.10 and now i need mcrypt. I also installed mcrypt from source and restarted apache but still i am not able to see it in my php configuration. I ...
1
vote
0answers
25 views

repcached broken sync - memcached high avalaibility

I have been using repcached (memcached-1.2.8-repcached-2.2)to store php sessions in order to have a highly available memcached. Everything runs perfect, I can restart a daemon without losing sessions. ...
-1
votes
1answer
34 views

User http does not have write permissions directory?

I have a bit of an odd set up, I think. I have groups for each domain my server hosts, and I add the user http to each domain group along with the users that should have access to the groups' domains. ...
-2
votes
1answer
52 views

Is there a PHP cloud host that supports multiple databases for one app? [closed]

Our app connects to multiple mysql databases. We are looking into cloud hosting solutions as an option versus a dedicated server. We've looked into PHP Fog, but they do not support multiple databases ...
-1
votes
0answers
32 views

List of the most used hosts [closed]

I'm developing a PHP application and I would like to test it across the most popular web hosting companies. Do you know what are the 10 most used shared hosting websites out there?
1
vote
0answers
14 views

Apache: change PHP suexec user/group per SSL client

I've got a server running several vhost sites, and was wondering if there could be a way to get some vhost PHPs executed under a different user/group depending on the client connecting to them. I ...
4
votes
1answer
54 views

Apache restart needed for PHP to re-read php.ini?

Does PHP read php.ini on each request or do I have to restart Apache for php to be aware of changes on php.ini?
0
votes
1answer
81 views

Critical Virus infection with PHP website. What are the options to remove Virus? [closed]

Possible Duplicate: My server's been hacked EMERGENCY I have a critical virus infection to one of my website. There is a additional script found added at footer of few web pages . the ...
1
vote
2answers
26 views

How to install php cli with pnctl alongside Zend Server

I have Zend Server CE 5.6 with PHP 5.2 running on Ubuntu 11.10. Now the need has arisen to run a command line PHP script that uses PHP's pnctl functionality. First of all, I had no PHP command line ...
0
votes
1answer
16 views

php script to restart remote mysql

I have 2 webservers and 5 mysql servers. Our website has a lot of traffic and one of the mysql servers goes down or gets flooded and i need to restart it (/etc/init.d/mysql restart). Can i do it via ...
0
votes
2answers
20 views

Apache executes HTML, but not executing PHP; PHP CLI works

I am running php 5.3.3 on rhel 6.2 with Apache 2.2.15 and am failing to get PHP code interpreted by Apache. There are no errors (in the system log, httpd/error_log, or php_errors.log) - I have ...
0
votes
1answer
23 views

Need help regarding htaccess stuff

I have my site at www.example.com and have several sub-domains city wise. Suppose i have subdomain with name say "subdomain.example.com" then i want to redirect the subdomain homepage to directory in ...
0
votes
1answer
46 views

APC keeps flushing

See my APC here: http://www.animefushigi.com/apc.php If you keep hitting the Refresh button on the top left, watch the number of "Hits" and the "Start Time" and "Uptime" values. They all go up and ...
1
vote
1answer
31 views

How to enable mysqli extension on redhat?

My php.ini says: Additional .ini files parsed /etc/php53/php.d/curl.ini, /etc/php53/php.d/fileinfo.ini, /etc/php53/php.d/json.ini, /etc/php53/php.d/mysqli.ini, /etc/php53/php.d/mysql.ini, ...
2
votes
2answers
31 views

Installing/Configuring PHP to work with tomcat5 and mysql on CentOS

I need to install php on a CentOS machine and configure it to work with tomcat5 and mysql Anyone know how i can do this? the home folder for tomcat and mysql is /usr/share/tomcat5 /usr/share/mysql ...
0
votes
1answer
18 views

Apache config, why it's always says The Requested operation has failed, I can not run apache?

I'm already tired, I can not start apache, I'm reinstalled it a few times, but it doesn't work, was a different situations, such as firewall or whatever, but now I can not run apache ordinary cause it ...
-2
votes
1answer
34 views

Could any kind of code be stored on an external server? [closed]

is it possible to story any code (php html js css ...) on someserver.com/code.file and request it to be loaded onto any website like mysite.com thanks
0
votes
0answers
16 views

Is it possible to redirect all sent mail to one specific email address?

I'm running a MAMP setup locally and recently discovered the postfix setting which is a life saver. Only downside is, my local machine could now send mails to any and every other mail address. I ...
0
votes
0answers
21 views

Emails Directly To PHP [closed]

Possible Duplicate: What do I need to parse incoming emails? I run a Ubuntu Server which is basically a lamp server. I need a method to pipe emails directly into a PHP script. I know in ...
1
vote
2answers
40 views

How to configure nginx to serve single named virtualhost, aside of apache

I currently have a single apache server with several named virtualhosts defined there, all serving on the same IP, on port 80. However, I have one static virtualhost (a specific domain) I want to ...
1
vote
0answers
8 views

How can I set the original PHP mysql api driver to auto-reconnect by default in MySQL version > 5.0.13?

MySQL server turned off auto-reconnect by default in version 5.0.13: http://dev.mysql.com/doc/refman/5.0/en/auto-reconnect.html In MySQL 5.0, auto-reconnect was enabled by default until MySQL 5.0.3, ...
0
votes
2answers
35 views

PHP with suexec/fcgid

httpd.conf file: LoadModule fcgid_module modules/mod_fcgid.so AddHandler fcgid-script .php FCGIWrapper /usr/local/php5 .php # manual MaxRequestsPerProcess 1000 FcgidMaxProcesses 200 ...
-1
votes
0answers
13 views

PHP script runs in a shared server, but it doesn't in a VPS

I have a pretty simple php script that executes a select query on a MySQL db. When I test it on a shared server it works fine, it takes about 2-3 seconds to be executed and I get my results on the ...
0
votes
2answers
30 views

configure: error: Cannot find libtidy

I want to build PHP 5.3.9 on RHEL 6.2 with Tidy support. I get this message: configure: error: Cannot find libtidy So I try to install libtidy: yum install libtidy libtidy-devel but ...
0
votes
3answers
53 views

php - write failed: No space left on device (28)

I got session error at php on cenots 5.1 x86. Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify ...
0
votes
0answers
35 views

Adding PDO_IBM to PHP on Ubuntu 11.10

I have a Ubuntu 11.10 server with apache 2 / PHP 5.3 / MySQL setup. I would like to include the PDO_IBM driver to connect to a remote( computer setting next to this box) DB2 database. I started out ...
0
votes
0answers
25 views

running both python and php on the same Ubuntu server

I am going to be setting up an Ubuntu 11.10 virtual server (linode) to run both php and python applications. I have set up Apache for both php and python, but not both, and seem to recall some issues ...
0
votes
2answers
28 views

Apache rejecting connections (for high number of connections from the same ip)

I'm doing some load test over a LAMP server, but for very high load (high number of connections) tests the it stats to refuse the connections. What I must do for allow all the incoming connections ...

1 2 3 4 5 66