
26th October 2006, 14:10
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 477
Thanks: 10
Thanked 5 Times in 4 Posts
|
|
Server API CGI
Hello with all
How to create API Server cgi (php-cgi) on debian, with ISPConfig ?
Yours sincerely MM
|

26th October 2006, 18:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,071
Thanks: 697
Thanked 4,250 Times in 3,263 Posts
|
|
Install the php-cgi package from the debian repositories.
|

26th October 2006, 18:33
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 477
Thanks: 10
Thanked 5 Times in 4 Posts
|
|
OK till
But, how I make for the configuration on apache, is necessary it to change what in apache2.conf.....
Well with you
MM
|

27th October 2006, 14:54
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,601 Times in 2,450 Posts
|
|
|

27th October 2006, 15:17
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 477
Thanks: 10
Thanked 5 Times in 4 Posts
|
|
Ok falko
Thank you, that will help me, thank you very much....
Another thing, you do not know, of the ports, to make function kde 3.5 pennies debian sarge....
Well with you
MM
|

28th October 2006, 17:26
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,601 Times in 2,450 Posts
|
|
Quote:
|
Originally Posted by misterm
Another thing, you do not know, of the ports, to make function kde 3.5 pennies debian sarge....
|
What exactly is the problem?
|

28th October 2006, 21:40
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 477
Thanks: 10
Thanked 5 Times in 4 Posts
|
|
Good evening falko
I have to find the packages of version 3.5.3, is I am spirit to compile with evil, the packages of version 3.5.5, with errors, then I ask you, if you do not have the packages already to compile version 3.5.5....
Veiled...
Well with you
MM
|

29th October 2006, 14:12
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,601 Times in 2,450 Posts
|
|
|

1st November 2006, 12:35
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 477
Thanks: 10
Thanked 5 Times in 4 Posts
|
|
Hello with all
I have to test your system with the fastcgi, is that do not function, am moreover, in the howto, does not function, if I does it with the version php 4.4.4:
Quote:
<IfModule mod_fastcgi.c>
#temporary sockets are stored here, this must be at the top!
FastCgiIpcDir /var/lib/apache2/fastcgi
#config
FastCgiConfig -pass-header Authorization
FastCgiWrapper /usr/lib/apache2/suexec-fcgi
AddHandler php-fastcgi .php
<Location /php/php-fcgi-starter>
SetHandler fastcgi-script
Options +ExecCGI
</Location>
# Action php-fastcgi /php/php-fcgi-starter
##ISPConfig add this by the installtion of it
##ISPConfig INSTALL## AddType ##ISPConfig INSTALL## application/x-httpd-php .php
<Directory "/var/www/">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
|
make install :
Quote:
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/local/bin/
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - installed: 1.3.1
[PEAR] Console_Getopt - installed: 1.2
[PEAR] HTML_Template_IT- installed: 1.1
[PEAR] Net_UserAgent_Detect- installed: 2.0.1
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
[PEAR] PEAR - installed: 1.4.9
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
|
Somebody can modify my file fastcgi.conf, to be on that functions.... Yours sincerely Because example: "Action php-fastcgi /php/php-fcgi-starter", when I apache starts again, it puts this like error:
Quote:
Reloading web server config...Syntax error on line 17 of /etc/apache2/mods-enabled/fastcgi.conf:
Invalid command 'Action', perhaps mis-spelled or defined by a module not included in the server configuration
|
Yours sincerely
MM
|

1st November 2006, 14:53
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 477
Thanks: 10
Thanked 5 Times in 4 Posts
|
|
Hello I does them with suphp, for the php in cgi... Is that goes more quickly is that goes.... Yours sincerely
MM
http://mich.no-ip.biz/info.php
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 10:29.
|
|
Recent comments
4 hours 19 min ago
9 hours 12 min ago
18 hours 4 min ago
19 hours 4 min ago
22 hours 51 min ago
1 day 5 min ago
1 day 3 hours ago
1 day 10 hours ago
1 day 19 hours ago
1 day 21 hours ago