Running php as a fastcgi app, how to modify php


#1

Hi,

I am running PHP as fastcgi as i was having some major CPU load issues, and now, i am worrying becuase i can not go ahead and modify the config.

How do i modify the config when i run PHP this way, so i can go ahead and upload images, ebcuase i get a server config error when i go to upload.


#2

Ryan,

This is pretty complicated stuff, and the wiki articles that describe what’s involved warn you of that. These following articles are relevant:

http://wiki.dreamhost.com/index.php/PHP_FastCGI

http://wiki.dreamhost.com/index.php/Advanced_PHP_configuration

http://wiki.dreamhost.com/index.php/Installing_PHP5

http://wiki.dreamhost.com/index.php/PHP.ini

That said, after watching (and even participating in, to some degree :wink: ) your attempt to work through this yesterday on IRC, I respectfully submit that you not attempt this without doing considerable more learning and studying about the use of the shell and the processes involved.

I’m sorry, I can’t help you with it. :frowning:

–rlparker


#3

nope., i hadda run chmod777 for it to work

apparently the uploader wont work unless its 777ed

im working on another solution now via a web based FTP client


#4

I think that is a much better solution! :slight_smile: One hint - use one written in perl, to avoid the max_upload_filesize limit in PHP. :wink: Good Luck!

–rlparker


#5

ive actually been reading through the wiki

im learning the shell very well lately, i just ran into some roadblocks.


#6

great, now my siute isnt even loading

foo

can somone restart apache

im getting a 500 error and didnt touch a thing