php-problems - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: php-problems (/thread-2553.html) Pages: 1 2 |
php-problems - Meatwad - 02-25-2008 03:08 AM hi, i've got 2 problems with php. i'm using php5 and i've updated from vhcs to ispcp rc3. 1. i want to change some ini-settings in the apache-config (in /etc/apache2/ispcp/dmn.tld). Code: <IfModule mod_php5.c> 2. i tryed to add a own vhost (without ispcp). so i added a vhost in /etc/apache2/sites-enabled/. Code: <VirtualHost xxx.xxx.xxx.xxx:80> when i open the website it just says Quote:No input file specified.when i open a non-php-file it is working out fine. what can i do? thanks, } Meatwad RE: php-problems - joximu - 02-25-2008 03:21 AM Use the Search function here, read how ispcp works (and what sort of PHP it uses as default), read the wiki. All infos are available. /J I can give you a hint: it's not mod_php what ispcp uses as default... RE: php-problems - blocker - 02-25-2008 04:45 PM Have you try change the value from php.ini's domain ? RE: php-problems - Meatwad - 02-29-2008 12:57 AM sorry that i haven't answered so long but i checked the forum, wiki & faq... i couln't find anything. in the forum it just says, that it could be permissionproblems. i've changed the whole folder (with -R) to 777... so this shouldn't be the problem. what's it then? RE: php-problems - DocSnyd3r - 02-29-2008 04:01 AM Look in /var/www/fcgi/ there are the php.ini files for your domains. RE: php-problems - Meatwad - 02-29-2008 04:04 AM yeah, i know. but i only want the changes for one vhost, not for a total domain. some ideas how to solve the "No input file specified." problem? RE: php-problems - joximu - 02-29-2008 09:27 AM again: there is one php.ini for each customer. That makes one php.ini for all the domain/subdomains and domain aliases from one customer and another php.ini for another customers domains. All php settings in the apache config are ignored - they are only valid if you use mod-php. So forget the vhost based settings. /J RE: php-problems - Meatwad - 03-01-2008 09:55 AM well, see...that's the problem. i want a own php.ini for only one vhost. no own customer. just one vhost. and i don't feel like editing the php.ini after every domainchange again, so i just want to add it manually. how can i do this? i don't need ispcp for this one vhost. ---- for an other vhost i'd need just some other php-settings (like max_file_size or so). so i'd like to edit the php-settings for a other preticular vhost. i hope this is clear.... i'm not sure. RE: php-problems - joximu - 03-01-2008 10:07 AM have a look how the normal customer fastcgi settings are. and do it the same way... RE: php-problems - Meatwad - 03-01-2008 11:05 AM ok, i solved the first problem now. i forgot to edit the /var/www/fcgi/dmn.tld/php5-fcgi-starter....ok. but how can i simply change php-vars like "upload_max_filesize"? i don't want to edit the whole php.ini because it would take effect of all domains from the customer. how can i make use of the files in /etc/apache2/ispcp/? just using the <IfModule mod_php5.c> does not seem to work. |