compuhost

Member
Aug 19, 2011
19
0
51
Hello:
Im having a slight issue with the php handler.
I have a VPS that I would like to use suphp for my php 5 handler.

Last night I installed imagemagick and Imagick on the VPS.
I cant remember if I had suphp set before I installed IM or not....

No php files will work with the handler set at suphp.
Not even the phpinfo.php will show.
I just get a 500 error.

All php files work with DSO.

This is the Apache log file...
[Wed Aug 24 16:59:14 2011] [notice] caught SIGTERM, shutting down
[Wed Aug 24 16:59:16 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/loca l/apache/bin/suexec)
[Wed Aug 24 16:59:16 2011] [notice] ModSecurity for Apache/2.6.0 (http://www.mod security.org/) configured.
[Wed Aug 24 16:59:16 2011] [notice] ModSecurity: APR compiled version="1.4.5"; l oaded version="1.4.5"
[Wed Aug 24 16:59:16 2011] [notice] ModSecurity: PCRE compiled version="8.12"; l oaded version="8.12 2011-01-15"
[Wed Aug 24 16:59:16 2011] [notice] ModSecurity: LIBXML compiled version="2.7.8"
[Wed Aug 24 16:59:17 2011] [notice] Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/ 0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.263 5 configured -- resuming normal operations
[Wed Aug 24 16:59:22 2011] [notice] caught SIGTERM, shutting down
[Wed Aug 24 16:59:25 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/loca l/apache/bin/suexec)
[Wed Aug 24 16:59:25 2011] [notice] ModSecurity for Apache/2.6.0 (http://www.mod security.org/) configured.
[Wed Aug 24 16:59:25 2011] [notice] ModSecurity: APR compiled version="1.4.5"; l oaded version="1.4.5"
[Wed Aug 24 16:59:25 2011] [notice] ModSecurity: PCRE compiled version="8.12"; l oaded version="8.12 2011-01-15"
[Wed Aug 24 16:59:25 2011] [notice] ModSecurity: LIBXML compiled version="2.7.8"
[Wed Aug 24 16:59:26 2011] [notice] Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/ 0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.263 5 configured -- resuming normal operations
[Wed Aug 24 16:59:32 2011] [error] [client 67.63.157.170] Premature end of scrip t headers: index.php
[Wed Aug 24 16:59:32 2011] [error] [client 67.63.157.170] File does not exist: / home/autoraci/public_html/500.shtml
Can anyone make any since out of this...
I'm completely new at this stuff.. so please bare with me.. and thanks for helping.

Matthew
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
42
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello Matthew,

Ensure the file is 644 for file permissions and owned by autoraci:autoraci

Code:
ls -lah /home/autoraci/public_html/index.php
Under suPHP, the files must not have permissions higher than 644 and folders must not have permissions higher than 755. The file must be owned by the user's uid and gid. Under DSO, files run as the group nobody, so autoraci:nobody might be what is set on the file.
 

compuhost

Member
Aug 19, 2011
19
0
51
Previously I ran the script that changed every file / folder to 644 / 755.
I just double check file permissions and this is correct.

Im not sure how I check who the file is owned by.
I uploaded all files via FTP under the autoraci account.

Thanks for helping me with this....
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
42
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
I provided the command in root SSH to run to check the permissions and ownership in my prior reply.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
42
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
The folder it is in definitely has 755 file permissions as well?

Code:
ls -ld /home/autoraci/public_html/53chevy
Next, what about public_html folder?

Code:
ls -ld /home/autoraci/public_html
Also, do you have any .htaccess files in /home/autoraci/public_html and /home/autoraci/public_html/53chevy locations? If so, please provide the contents for those files. If you have php_value or php_flag entries in either location, it will throw a 500 Internal Server Error as well.
 

compuhost

Member
Aug 19, 2011
19
0
51
53chevy folder
drwxr-xr-x 5 autoraci autoraci 4096 Aug 23 19:18 /home/autoraci/public_html/53chevy/
public_html
drwxr-xr-x 4 autoraci nobody 4096 Aug 23 19:18 /home/autoraci/public_html/
There is no contents in any .htaccess files


I found and error_log file in the 53chevy folder...
I will see if I can disable eAccelorator somewhere

[23-Aug-2011 19:18:18] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[23-Aug-2011 19:20:46] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[23-Aug-2011 19:20:50] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[23-Aug-2011 19:20:50] PHP Deprecated: Function eregi() is deprecated in /home/autoraci/public_html/53chevy/plog-includes/lib/phpthumb/phpthumb.functions.php on line 362
[23-Aug-2011 19:20:50] PHP Deprecated: Function eregi() is deprecated in /home/autoraci/public_html/53chevy/plog-includes/lib/phpthumb/phpthumb.class.php on line 707
[23-Aug-2011 19:20:50] PHP Deprecated: Function eregi() is deprecated in /home/autoraci/public_html/53chevy/plog-includes/lib/phpthumb/phpthumb.class.php on line 588
[23-Aug-2011 19:20:51] PHP Deprecated: Function eregi() is deprecated in /home/autoraci/public_html/53chevy/plog-includes/lib/phpthumb/phpthumb.class.php on line 1177
[23-Aug-2011 19:21:00] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[23-Aug-2011 19:31:46] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[23-Aug-2011 20:03:18] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:15:47] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:15:47] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:15:47] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 11:15:47] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 11:16:27] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:16:27] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:16:27] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 11:16:27] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 11:24:07] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:24:07] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:24:07] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 11:24:07] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 11:46:58] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:46:58] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:46:58] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 11:46:58] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 11:51:23] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:51:23] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:51:23] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 11:51:23] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 11:51:48] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:51:48] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:51:48] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 11:51:48] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 11:56:33] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:56:33] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 11:56:33] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 11:56:33] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 12:09:32] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 12:09:32] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 12:09:32] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 12:09:32] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 12:47:53] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 12:47:53] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 12:47:53] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 12:47:53] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 12:48:07] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 12:48:07] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 12:48:07] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 12:48:07] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 13:21:41] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 13:21:41] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 13:21:41] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 13:21:41] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 13:22:54] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 13:22:54] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 13:22:54] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 13:22:54] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 13:22:56] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 13:22:56] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 13:22:56] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 13:22:56] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 14:00:08] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 14:00:08] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 14:00:08] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 14:00:08] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 16:59:32] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 16:59:32] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 16:59:32] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 16:59:32] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 17:26:30] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:26:30] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:26:30] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 17:26:30] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 17:26:34] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:26:34] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:26:34] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 17:26:34] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 17:38:27] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:38:27] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:38:27] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 17:38:27] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 17:38:28] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:38:28] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:38:28] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 17:38:28] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 17:41:03] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:41:03] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:41:03] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 17:41:03] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 17:41:04] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:41:04] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:41:04] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 17:41:04] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 17:41:14] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:41:14] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:41:14] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 17:41:14] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[24-Aug-2011 17:45:33] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:45:33] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[24-Aug-2011 17:45:33] PHP Warning: [eAccelerator] Can not create shared memory area in Unknown on line 0
[24-Aug-2011 17:45:33] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
42
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Can you also set public_html to 750 for that top level? That's the typical setting for that level of public_html:

Code:
chmod 750 /home/autoraci/public_html
To uninstall EAccelerator, you can do the following:

Code:
/scripts/phpextensionmgr uninstall EAccelerator
Please also check that php.ini either on that account or at /usr/local/lib/php.ini doesn't have any empty extension = line:

Code:
grep ^extension /usr/local/lib/php.ini
 

compuhost

Member
Aug 19, 2011
19
0
51
ok i commented eaccelorator and ffmgeg form php.ini and its working somewhat now...
no more 500 error.... some php errors now...

open(/tmp/sess_7867ef39a54c01b33f813e2cf9c198eb, O_RDWR) failed: Permission denied
Cannot send session cache limiter - headers already sent
Unknown: open(/tmp/sess_7867ef39a54c01b33f813e2cf9c198eb, O_RDWR) failed: Permission denied
Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp)
I will proceed to figure this out now.. im thinking something with folder permissions now...

thank you for your help..

Matthew
 

compuhost

Member
Aug 19, 2011
19
0
51
Here is the result from : grep ^extension /usr/local/lib/php.ini

extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20090626"
extension = "imagick.so"
extension = "ixed.5.3.lin"
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
42
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Try moving that session file out of /tmp so that it has to create a new one. The old one is likely owned by the wrong user due to the PHP handler change:

Code:
mv /tmp/sess_7867ef39a54c01b33f813e2cf9c198eb /root
 

compuhost

Member
Aug 19, 2011
19
0
51
WOW....
That fixed that problem...
but this goes deep... seems like every corner I turn has more errors...
Now it tells me...
Deprecated: Function eregi() is deprecated in /home/autoraci/public_html/53chevy/plog-includes/lib/exifer1_7/exif.php on line 617
I will just have to go back to DSO for now...
I dont know enough about this stuff yet to do this...
I dont even know yet if it messed up anything else yet..........
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
42
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
You likely should use PHP 5.2 instead of PHP 5.3, since that message is probably due to switching from PHP 5.2 to PHP 5.3 rather than switching from DSO to suPHP
 

compuhost

Member
Aug 19, 2011
19
0
51
thanks for your great support here.
I understand that you don't have to help me at all.
I am very grateful that you have though...

If I change the handler to DSO, all the errors go away, and the php shows correctly.
When I change the handler back to suphp, the errors show up again.
Ive had PHP 5.3 on the server since I got it.

The only thing Ive done is try to install FFMPEG and ImageMagick through WHMxtra.
Neither of which worked.
I had to manually install ImageMagick and Imagick last night.
I recompiled apache to include exif and this is when I noticed the errors.
But, I dont know if the handler was set as DSO or suPHP.
After I recompiled I just selected the defaut options which was suphp.

Matthew


thank
 

compuhost

Member
Aug 19, 2011
19
0
51
Sorry for the long delay.
thanks again for your help.

Here is the reason I found to be my problem.

I had originally compiled apache with PHP 5.3 with eaccelorator and using DSO as the handler.

All php was working fine on the server.

After doing research I found that it was best to use suphp as the handler.
So I just changed the handler to suphp.

Here's the thing.... I use Softalculous to install scripts on the server... just a laziness on my part I guess.

Well ... it seems like that it must check what handler you are using and change the code or something if it needs to. So I originally installed Plogger with the DSO Handler, and when I changed it to suphp, plogger went crazy with the errors.

I reinstalled plogger with the suphp handler, it gave me the write errors... that you helped me solve..
When I changed back to DSO, is when it started to give me the deprecated error.

So what I ended up doing was recompiling Apache with PHP 5.2, disabling eAccelorator, and using suphp for the handler. I removed all instances of plogger... and installed a fresh copy, using Softaculous.

All is working fine now using suphp.
Other scripts on the other account all seem to be working fine also.

I will try later to recompile with php 5.3 and see if it continues to work.

Thanks for helping me out here with this.
Ive learned a bunch about PHP and how it works, what the server does for php, and why its important to secure your server.

Godspeed,
Matthew