Multiple Domain Use of Custom PHP
Posted by: Balidarious
Posted on: 2007-05-20 08:23:00
Alright. . . I had all of my problems fixed, but then I decided . . . Hey . . . let's put this my office software in a subdomain instead for easier PDA Access. . . Well back to the drawing board on the PHP issues.
Okay, so I have moved all of my software over to the subdomain.
I followed the WIKI instructions on adding another domain to the custom php install:
In reply to:* Go to the domain directory where you want to use the Custom PHP5 Compile (Example: /abc.com/)
* Type: ln -s /home/USERNAME/DOMAIN_NAME/cgi-bin /home/USERNAME/SUB.DOMAIN_NAME/cgi-bin (Replace USERNAME with your actual username, Replace DOMAIN_NAME with your actual domain name where the custom php5.cgi in stored. Example abc.com. Replace SUB.DOMAIN_NAME with the actual sub domain you want to use for the custom php5)
* Press Enter And You Are Done.
* Upload the .htaccess with the AddHandler/Action methods as listed above to (Example: /abc.com/)
* Upload the same .htaccess with the AddHandler/Action methods to the subdomain (Example: subdomain.abc.com)
I must really be doing something wrong here . . . I am Using PuTTy in SSH and when I execute the above -s {other stuff here} command I get "-bash: -S: command not found".
Anyone have any ideas for me.