php-windows Digest 16 Oct 2007 13:15:37 -0000 Issue 3351

Topics (messages 28562 through 28563):

Re: PHP Install problems
        28562 by: trystano.aol.com

Can't load 'SimpleXML' as 'libxml' is not loaded in Unknown line 0.
        28563 by: Chhaya Sharma

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 ---
 Hi,

see if this webpage helps you...

http://www.php.net/manual/en/install.windows.manual.php

Tryst


 


 

-----Original Message-----
From: rjdani <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Mon, 15 Oct 2007 8.35pm
Subject: [PHP-WIN] PHP Install problems










I'm trying to work my way through the "Beginning PHP5, Apache, MySql Web
Development" book by Elizabeth Naramore, et. al. -- i.e. a newbie. I'm
having trouble getting Apache to recognize my php code files on my HP
Windows XP machine.  It has service pack 2 and is current with updates.

I followed the examples in the book and added a documentroot line and a
directory line to the httpd.conf file.  The index.html file worked witn IE7
but not with Fire Fox when I used the http://localhost URL.  Next I created
the second check which had me create a php testing file phptest.php in the
same directory as the index.html file. Which included the following code: --

<HTML>
<HEAD>
<TITLE>PHP Testing</TITLE>
</HEAD>
<BODY>
<?php
echo "If this works, we <i>really<-i> did it!";
?>
</BODY>
</HTML>

When I used the http://localhost/phptest.php a 404 url not found message
resulted.
was when I unzipped the httpd-2.2.6-win32-src-r2.zip file I do not see the
MSI file mentioned in Appendix I of the book.  Can any one help me.

RJD (bob daniels)

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



 


________________________________________________________________________
Get a FREE AOL Email account with unlimited storage.  Plus, share and store 
photos and experience exclusively recorded live music Sessions from your 
favourite artists. Find out more at http://info.aol.co.uk/joinnow/?ncid=548.

--- End Message ---
--- Begin Message ---
I am trying to integrate libxml2 with PHP by linking it with
libxml2_a_dll.lib.However this is not happening.Apache throws following
warning.

PHP Warning: Cannot load module 'SimpleXML' because required module 'libxml'
is not loaded in Unknown on line 0

I have added libxml.obj to STATIC_EXT_OBJS and libxml2_a_dll.lib to
STATIC_EXT_LIBS and LIBXML_STATIC_FOR_DLL to STATIC_EXT_CFLAGS.

Following are the two crucial lines in the makefile for obtaining library
libxml2_a_dll.lib .

.c{$(LIBXML_STATIC)}.obj:
$(CC) $(INCLUDE_FLAGS) $(CFLAGS) /D "LIBXML_STATIC" /D
"LIBXML_STATIC_FOR_DLL" /Fo$(LIBXML_STATIC)\ /c $<

all: $(STATIC_OBJS) $(SO_OBJS)
lib.exe /nologo /OUT:$(LIBXML_STATIC)\libxml2_a_dll.lib $(STATIC_OBJS)

I am novice to such kind of job.Can anyone please help me.

Thanks,
Chhaya

--- End Message ---

Reply via email to