branding4you
Junior Poster in Training
52 posts since Dec 2010
Reputation Points: 10
Solved Threads: 0
> viewing html pages with <?php ?>
May be a stupid question, but have the files got a .htm or .html extension? If so, change them to .php
diafol
Rhod Gilbert Fan (ardav)
7,796 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
I would follow ardav advice and if problem persists, I would backup my databases and htdocs and reinstall everything in XAMPP thing
evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
usually you should have php installed on your machine to use an ide. For ides try eclipse or aptana, or even netbeans. There's also a web based http://phpanywhere.net/
you can't render css with php unless the css file has a php extension. That's probably not the best way to go. you shouldn't need to use php inside css. Of course you can php-ify style tag contents.
//EDIT
I think the php.ini should be in the xampp directory. Also check out
C:\xampp\apache\conf\extra\httpd-vhosts.conf
for
something like:
<
VirtualHost *:80>
DocumentRoot c:/xampp/htdocs
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot c:/xampp/htdocs/anynewsite
ServerName myname.local
</VirtualHost>
AND
C:\Windows\System32\drivers\etc\hosts
for
something like:
127.0.0.1 localhost
::1 localhost
127.0.0.1 myname.local
to ensure that localhost and any virtual hosts are referenced properly
diafol
Rhod Gilbert Fan (ardav)
7,796 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
I don't use XAMPP except for Usb Stick (Portable). I always use WAMP
evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
here is my file, i dont see
[Sun Jan 16 10:03:42 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Jan 16 10:03:42 2011] [notice] Digest: done
[Sun Jan 16 10:03:42 2011] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Sun Jan 16 10:03:42 2011] [notice] Server built: Nov 11 2009 14:29:03
[Sun Jan 16 10:03:42 2011] [notice] Parent: Created child process 616
[Sun Jan 16 10:03:45 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Jan 16 10:03:45 2011] [notice] Digest: done
[Sun Jan 16 10:03:45 2011] [notice] Child 616: Child process is running
[Sun Jan 16 10:03:45 2011] [notice] Child 616: Acquired the start mutex.
[Sun Jan 16 10:03:45 2011] [notice] Child 616: Starting 150 worker threads.
[Sun Jan 16 10:03:45 2011] [notice] Child 616: Starting thread to listen on port 443.
[Sun Jan 16 10:03:45 2011] [notice] Child 616: Starting thread to listen on port 80.
[Sun Jan 16 10:03:45 2011] [notice] Child 616: Starting thread to listen on port 443.
[Sun Jan 16 10:03:45 2011] [notice] Child 616: Starting thread to listen on port 80.
branding4you
Junior Poster in Training
52 posts since Dec 2010
Reputation Points: 10
Solved Threads: 0
There is one file you have to edit - just take a ; or # away from a line. Should be in the documentation.
diafol
Rhod Gilbert Fan (ardav)
7,796 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080