Tagged Questions
1
vote
1answer
3k views
How do I get the latest FastCGI and PHP versions to peacefully coexist on IIS 6?
I have been going round and round trying to get any sort of PHP running on IIS 6. I somehow managed to successfully get version 5.1.4 running using the php5isapi.dll file. However, I want to upgrade ...
0
votes
1answer
40 views
How do i set a open_basedir with php using fastcgi/apache2 on linux?
I tried to add this line to my virtual hosts in Apache, but failed:
php_admin_value open_basedir "/var/www/users/test"
My installation:
root# apt-get install apache2 apache2-suexec ...
0
votes
1answer
119 views
The requested PHP extension ext-mcrypt * is missing from your system
I have updated my php to version 5.4.13 etc and well in the terminal my version of php states this
PHP 5.4.12 (cli) (built: Mar 16 2013 21:46:23)
But running a composer install io get the ...
0
votes
1answer
107 views
php script killed after 30 seconds and throwing Internal Server Error
I use php_fpm_event on my server and after 30 seconds of execution the process is being killed and I see Internal Server Error.
However I've set much larger values:
[admin]
listen = 127.0.0.1:57797
...
0
votes
1answer
305 views
php-fpm Bad file descriptor errors
I'm using php-fpm with customer separate pools.
Sometimes page are freezing, then showing 500 internal server error, and I'm getting such errors in error log:
[11-Feb-2013 22:12:39] ERROR: unable to ...
0
votes
0answers
31 views
PHP page not displaying formatting on external slow connection, but does on internal fast connection
Hopefully this is simple.
If I access a webpage served using apache2 and php5 via a mobile device with a slower connection like an android phone, the display and formatting of the php page does not ...
1
vote
2answers
3k views
Hide STRICT errors on PHP 5.4
I've upgraded from PHP 5.3 to PHP 5.4 today. Now my script is displaying a lot of error messages. How to hide them without using error_reporting(0); inside php file ?
I use this:
error_reporting = ...
-1
votes
1answer
104 views
Plesk can't/won't/doesn't-know-how-to reload php.ini
So Plesk is pretty much my daily nightmare but I'm stuck with it. Today's practical joke on me is that it won't seem to load changes I make to the php.ini. I'm trying to get a file's contents (via ...
1
vote
0answers
97 views
Error after installing mysqlnd_ms
I am working on Amazon EC2 using the Amazon Linux AMI which is based on CentOS.
I have installed php54 and php54-mysqlnd.
I then do a "sudo pecl install myslqnd_ms"
This installs fine.
I add the ...
1
vote
1answer
192 views
how can i disable safe mode for php on web server? [closed]
I am using wkhtmltopdf for making a pdf of a page. My code executes the shell to run a command using this wkhtmltopdf library. Everything works fine in my wamp server but when the code runs on my ...
1
vote
1answer
88 views
Custom php ini files for IIS7
I have a Windows 2008 Web edition server setup with IIS7.5 and PHP 5.4.6 FastCGI installed. I would like to make use of the user INI files as described here:
...
0
votes
1answer
267 views
Working with different PHP version at the same time, php_value extension_dir not working?
I need both PHP 5.4.7 and 5.3.17 running on Windows 7 x64 with Apache 2.2.23. This is my virtual host configuration:
<VirtualHost *:80>
DocumentRoot "C:/WAMP/Apache/htdocs/php54"
...
3
votes
1answer
241 views
How to disallow use of disable_functions in?
I'm obviously not the first one to have this problem, but I cannot not find an answer to this situation.
I want to lock down PHP a bit, more specifically the use of disable_functions. The environment ...
-1
votes
2answers
297 views
PDO not showing in phpinfo() with custom php.ini file [closed]
I have a custom php.ini file which sets my session.save_path=./
With this file in place, my phpinfo() does not show PDO or PDO mysql being enabled. If I rename the php.ini file, the phpinfo() does ...
1
vote
2answers
997 views
PHP in snow leopard
Snow leopard comes with PHP already installed and configured
I am running a web application on a development server which has MAMP and the system runs fine however when I put the application on a ...