php-install Digest 10 Sep 2002 16:22:45 -0000 Issue 1017
Topics (messages 8386 through 8396):
Re: Error msg: Warning: open(/tmp\sess_92fb623b5c277034e5c7f4b0466ba11f, O_RDWR)
failed: No such file or directory (2)
8386 by: Bodo Scheumann
Re: libphp4.so ??
8387 by: Bodo Scheumann
Re: Newbie Suse Php Apache MySQL Death
8388 by: Bodo Scheumann
Re: problems with httpd.conf and LoadModule php
8389 by: Bodo Scheumann
Re: 4.2.3, apache 2.0.40 file access problem
8390 by: Bodo Scheumann
Install PHP on Apache
8391 by: Nils Ludwig
Libmcrypt version error
8392 by: Ed Welsh
having php as a module and as cgi
8393 by: Angelo Marcos Rigo
8395 by: Jim Thome
cross page variables
8394 by: joe-e ee
Unsubscribe - Now
8396 by: Herbert Chipungu
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Patrick Latour wrote:
> Hello,
>
> I run Apache 1.3.26 on Win2K
>
> I have a file index.php that use the session_start() function, it work
> well on IIS but here is what I got on Apache:
> Warning: open(/tmp\sess_92fb623b5c277034e5c7f4b0466ba11f, O_RDWR) failed:
> No such file or directory (2) in e:\program files\apache
> group\apache\htdocs\index.php on line 2
>
>
> The file shows correctly, but I see this error message. Any one can help?
>
> Thanks and regards,
>
> Patrick Latour
> [EMAIL PROTECTED]
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.385 / Virus Database: 217 - Release Date: 9/4/2002
Check the session variables in php.ini -
They are ment for linux ...
so you have to set a correct session temp directory (see the comments in
php.ini) like c:\temp or so (for now its just /tmp which is not windows -
like)
Regards
Bodo
--- End Message ---
--- Begin Message ---
Celius wrote:
> i did a ./configure --with-mysql=/usr/src/mysql-3.23.52-pc-linux-gnu-i686
> --with-apache=/usr/src/apache_1.3.26 make and make install...
> i tried to start apache after that and got this;
>
> root@Secure:/# www/bin/apachectl start
> Syntax error on line 983 of /www/conf/httpd.conf:
> Cannot load /www/libexec/libphp4.so into server: /www/libexec/libphp4.so:
> cannot open shared object file: No such file or directory
> www/bin/apachectl start: httpd could not be started root@Secure:/#
>
>
> help... please? i've been trying to understand at least something now for
> about 3 hours, but im not smarter...
check where you have installed the libphp4.so.
use ./configure --help for the options
use the --prefix= option to set the path for the installation.
check that the shared library is build
then set the correct path in the httpd.conf file so apache can find it.
regards
Bodo
--- End Message ---
--- Begin Message ---
Sean M. Mayhew wrote:
> Im very new to linux so I decided to begin my journey with what is touted
> as one of the most user friendly distros Suse 8.0. After finding my way
> around the GUI I started making my way through the Shells. However I've
> run from one problem to the next.
>
> 1. After following every tutorial I could find on getting Apache installed
> I found that one of the most popular commands "Make" and "Make Install"
> was not even installed with my original distro I had to pull it off one of
> the cds. (I found that perl and my gcc or c compiler was similar) I found
> this on accident when I was looking for a basic binary to install.
>
> 2. After that I ran into some apxs error.
>
> 3. Finally get localhost to display the Apache installed page and try to
> install Php with any number of directory errors and the like including the
> apxs error.
>
> 4. Skip the crap apache install that I cant even tell whats working with
> the exception of the localhost page. Try installing MySql which seems to
> be going okay until I try to get into mysqladmin and get a constant error
> that the service basically is not running.
>
> I've gone through every single help file in the tar.gz's in each app
> (which is basically a mirror of whats on the site) Is this a problem with
> my distrobution can anybody send me somewhere (other than the standard
> apache,php,mysql home pages) I'm pulling my hair out here and am about 2
> command lines from dumping linux from the partition and sticking to
> windows for life. I know and understand the performance possibilities with
> linux but just getting 3 simple products to work is about more than I can
> take. Help!!!!!
>
> Thanks In advance
> [EMAIL PROTECTED]
The best to do if you are new is just to use the rpm's
(not to try to compile yourself!)
use yast to pull out thje necessary binary pagages (apache, perl, php)
and check the dependencies (autodepend).
Install webmin as for administration (the best you can do to anministrate
linux!) (see www.webmin.com for details) but should also be included in the
SuSE distribution.
Check for latest updates on the SuSE hompage (apache + perl + php)
And get familiar with where the diffferent parts are installed
(as http.conf can be found at /etc/httpd/ together with php.ini)
check the /etc7rc.config file to see if mysql and apache are stated at
startup
(shows up at boot time or in the boot log under /var/log)
If everything is installed nicely, you should get a SuSE page as localhost
default page.
If you want to compile from source, you will run into a lot of trouble
(I've gon through it) because you have to figure out all the different
options to set to get the system work, and if you do not have a 'regerence'
system running and are not 'expierienced' in linux and its structure,
keep your hands off! (or live with the trouble)
Another problem for development: I think SuSE is still using gcc 2.95,
so DO NOT TRY using gcc 3.x in a mix - the object files are NOT compatible,
so you would have to recompile half of your system.
regards
Bodo
--- End Message ---
--- Begin Message ---
Luis E. Collado T. wrote:
>
> Hi,
> i have a problem:
> when i add the line:
> LoadModule php4_module modules/libphp4.so to httpd.conf
> file, apache web server not start.
> may you help me?
>
> Thanks
put the full path to the library file (like /usr/apache/modules/...)
check rcapache.og and error.log for futher details.
regards
Bodo
--- End Message ---
--- Begin Message ---
Vadim Akselrod wrote:
> I upgraded to 4.2.3, but am having file access problems.
>
> If I access a file by full path, it works fine.
> If I access a file in the local dir, it fails. Even though getcwd() is
> the same as the full path above.
>
> Any ideas? This is on redhat 7.2. Thanks!
>
> Cheers,
>
> -Vadim
>
> PS: Here's the code that fails:
>
> $file = "test";
> if(!is_writable(getcwd() . "/" . $file))... // works
> if(!is_writable($file))... // fails
Check out the access rights (in php.ini e.g.)
it is different to access a complete path and a relative path,
even if they point to the same file! (like for include())
you have to have a r/w access to '.' if to use the second version
(which may be dangerous!) so better to go through the hassle with the full
path!
regards
Bodo
--- End Message ---
--- Begin Message ---
Hi,
I tried to install PHP4 on an existing Apache. After downloading and
extracting the packages I made following:
./configure --with-mysql --enable-force-cgi-redirect --enable-discard-path -
-with-config-file-path=/etc
Then I made make and make config.
All worked fine without any error. After that I wrote in http.conf:
ScriptAlias /php/ "/home/downloads/www/php-4.2.3/"
AddType application/x-httpd-php .php
Action application/x-httpd/php "/home/downloads/www/php-4.2.3/php"
But if I try to open any php-file my browser want to download the file.
What error is there (I think in Action application...)???
--- End Message ---
--- Begin Message ---
I get a strange error during configure of php 4.2.3 with apxs on
apache 2.0.40,
libmcrypt 2.5.3 is intalled in /usr/local/lib with all the correct
ldconfig
setup done.
here is the error:
configure: error: Sorry, I was not able to diagnose which libmcrypt
version you
have installed.
Anyone seen this before?
Let me know any other info you may need to help.
Thanks
EW
--
Ed Welsh
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Hi
I still have php compiled as dso module
but i need to have it like cgi and module
is it possible one compilation will not destruct the other?
how it can be done?
thank´s in advance
Ângelo Marcos Rigo
Webmaster Colégio Anchieta
http://www.colegioanchieta.g12.br
--- End Message ---
--- Begin Message ---
make clean, make distclean
then recompile without using the options --with-apache, --with-apxs, or --with-apxs2
make, make install.
~Jim
>>> "Angelo Marcos Rigo" <[EMAIL PROTECTED]> 09/10/02 07:12 AM >>>
Hi
I still have php compiled as dso module
but i need to have it like cgi and module
is it possible one compilation will not destruct the other?
how it can be done?
thank´s in advance
Ângelo Marcos Rigo
Webmaster Colégio Anchieta
http://www.colegioanchieta.g12.br
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
i just installed apache (the newest, stable release), mySQL, and PHP 4.2.2
as a server module on a p3 machine running winnt4.0 with sp6. when i run an
html form none of the variables are sent to the next page, even if the
action is the same page.
--joe_e
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--- End Message ---
--- Begin Message ---
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--- End Message ---