Parse error with MySQL test

  • (2 Pages)
  • +
  • 1
  • 2

28 Replies - 5676 Views - Last Post: 06 August 2006 - 04:07 PM Rate Topic: -----

#1 Israel   User is offline

  • D.I.C Addict
  • member icon

Reputation: 7
  • View blog
  • Posts: 833
  • Joined: 22-November 04

Parse error with MySQL test

Posted 18 July 2006 - 12:15 PM

I'm getting this error:

Parse error: syntax error, unexpected T_STRING in /var/www/mysql_up.php on line 12


with this script:

<html>
<head><title>Test MySQL</title></head>
<body>
<!-- mysql_up.php -->
<?php
$host="localhost";
$user="";
$password="";

mysql_connect($host,$user,$password);
$sql="show status";
$result = mysql query($sql);
if ($result == 0)
	echo "<b>Error " . mysql_errno() . ": "
		  . mysql_error() . "</b>";
else
{
?>
<!-- Table that displays the results -->
<table border="1">
 <tr><td><b>Variable_name</b></td><td><b>Value</b></td></tr>
<?php
  for ($i = 0; $i < mysql_num_rows($result); $i++) {
	echo "<TR>";
	$row_array = mysql_fetch_row($result);
	for ($j = 0; $j < mysql_num_fields($result); $j++)
	{
		echo "<TD>" . $row_array[$j] . "</td>";
	}
	echo "</tr>;
  }
 ?>
</table>
<?php } ?>
</body>
</html>


I've looked over it serval times but can't find the error?

Is This A Good Question/Topic? 0
  • +

Replies To: Parse error with MySQL test

#2 the_hangman   User is offline

  • D.I.C Addict
  • member icon

Reputation: 15
  • View blog
  • Posts: 602
  • Joined: 18-January 06

Re: Parse error with MySQL test

Posted 18 July 2006 - 12:40 PM

$result = mysql_query($sql);

This post has been edited by the_hangman: 18 July 2006 - 12:42 PM

Was This Post Helpful? 0
  • +
  • -

#3 snoj   User is offline

  • Married Life
  • member icon

Reputation: 93
  • View blog
  • Posts: 3,583
  • Joined: 31-March 03

Re: Parse error with MySQL test

Posted 18 July 2006 - 06:51 PM

What hangman said, you forgot the _ between mysql and query.
Was This Post Helpful? 0
  • +
  • -

#4 Israel   User is offline

  • D.I.C Addict
  • member icon

Reputation: 7
  • View blog
  • Posts: 833
  • Joined: 22-November 04

Re: Parse error with MySQL test

Posted 18 July 2006 - 08:59 PM

Ok... now I'm getting a new error:

Parse error: syntax error, unexpected $end in /var/www/mysql_up.php on line 36


This is odd to me because my text editor shows line 36 with just the closing tag </html>?
Was This Post Helpful? 0
  • +
  • -

#5 snoj   User is offline

  • Married Life
  • member icon

Reputation: 93
  • View blog
  • Posts: 3,583
  • Joined: 31-March 03

Re: Parse error with MySQL test

Posted 19 July 2006 - 12:23 AM

Try some {}'s with the first part of the if else statment?
Was This Post Helpful? 0
  • +
  • -

#6 Amadeus   User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 253
  • View blog
  • Posts: 13,507
  • Joined: 12-July 02

Re: Parse error with MySQL test

Posted 19 July 2006 - 05:43 AM

There is no closing quote on this line:
echo "</tr>;


Was This Post Helpful? 0
  • +
  • -

#7 Israel   User is offline

  • D.I.C Addict
  • member icon

Reputation: 7
  • View blog
  • Posts: 833
  • Joined: 22-November 04

Re: Parse error with MySQL test

Posted 19 July 2006 - 09:48 PM

Now I'm getting a new error:

Fatal error: Call to undefined function mysql_connect() in /var/www/mysql_up.php on line 10

Was This Post Helpful? 0
  • +
  • -

#8 Spider   User is offline

  • Arachnid

Reputation: 2
  • View blog
  • Posts: 769
  • Joined: 10-July 02

Re: Parse error with MySQL test

Posted 20 July 2006 - 02:16 AM

First of all it's always a good idea to connect to the database like this:

$link = mysql_connect($host, $user, $password);
if (!$link) {
   die('Could not connect: ' . mysql_error());
}


So that if something goes wrong the script tells you :)

But I doubt that will fix your problem. What server are you running this script on, and are you sure PHP has the MySQL extensions installed?

This post has been edited by Spider: 20 July 2006 - 02:17 AM

Was This Post Helpful? 0
  • +
  • -

#9 Israel   User is offline

  • D.I.C Addict
  • member icon

Reputation: 7
  • View blog
  • Posts: 833
  • Joined: 22-November 04

Re: Parse error with MySQL test

Posted 20 July 2006 - 06:11 AM

I'm sure they are installed, but I'm not positive they were installed correctly so php and MySQL can communicate. That's part of the reason I'm doing this test.

I tried Spider's script but got the same error. Maybe I placed it wrong:

<?php
$host="localhost";
$user="";
$password="";

$link = mysql_connect($host, $user, $password);
if (!$link) {
   die('Could not connect: ' . mysql_error());
}
else
{
?>
<!-- Table that displays the results -->

Was This Post Helpful? 0
  • +
  • -

#10 Israel   User is offline

  • D.I.C Addict
  • member icon

Reputation: 7
  • View blog
  • Posts: 833
  • Joined: 22-November 04

Re: Parse error with MySQL test

Posted 25 July 2006 - 09:58 PM

Ok, I read up some more and tried uninstalling everything and re-installing MySQL and then PHP. I have ran a php test page and noticed sql.safe mode was disabled. I found some advice on W3C about my problem:

Quote

Installation on Linux Systems

PHP 5+: MySQL and the MySQL library is not enabled by default. Use the --with-mysql=DIR configure option to include MySQL support and download headers and libraries from www.mysql.com.


Seems like they must have left something out of this instruction I'm not getting. I've tried typing "php --with-mysql=DIR" at the command line and nothing...?

This post has been edited by Israel: 25 July 2006 - 10:01 PM

Was This Post Helpful? 0
  • +
  • -

#11 snoj   User is offline

  • Married Life
  • member icon

Reputation: 93
  • View blog
  • Posts: 3,583
  • Joined: 31-March 03

Re: Parse error with MySQL test

Posted 26 July 2006 - 12:07 AM

That's for when you compile PHP.

Try making an info page to see what's all installed.
<?php
phpinfo();
?>

Was This Post Helpful? 0
  • +
  • -

#12 Israel   User is offline

  • D.I.C Addict
  • member icon

Reputation: 7
  • View blog
  • Posts: 833
  • Joined: 22-November 04

Re: Parse error with MySQL test

Posted 26 July 2006 - 09:34 PM

Ok, I know what you're talking about but unfortunately I've screwed something up while trying to uninstall php (because I read you need to install mysql before it so they can communicate correctly) now I'm showing I've installed it but I can't run any php scripts. The browser will no longer open those files. But I did manage to get a display of the php files I have:

[email protected][Israel]# find / -name "php*"
/home/Israel/.kde/share/apps/RecentDocuments/php-5.1.4.tar.gz.desktop
/home/Israel/php-5.1.4
/home/Israel/php-5.1.4/ext/gd/php_gd.h
/home/Israel/php-5.1.4/ext/bz2/php_bz2.def
/home/Israel/php-5.1.4/ext/bz2/php_bz2.h
/home/Israel/php-5.1.4/ext/dba/php_ndbm.h
/home/Israel/php-5.1.4/ext/dba/php_qdbm.h
/home/Israel/php-5.1.4/ext/dba/php_inifile.h
/home/Israel/php-5.1.4/ext/dba/php_cdb.h
/home/Israel/php-5.1.4/ext/dba/php_db1.h
/home/Israel/php-5.1.4/ext/dba/php_db2.h
/home/Israel/php-5.1.4/ext/dba/php_db3.h
/home/Israel/php-5.1.4/ext/dba/php_db4.h
/home/Israel/php-5.1.4/ext/dba/php_dba.h
/home/Israel/php-5.1.4/ext/dba/php_dbm.h
/home/Israel/php-5.1.4/ext/dba/php_flatfile.h
/home/Israel/php-5.1.4/ext/dba/php_gdbm.h
/home/Israel/php-5.1.4/ext/dom/php_dom.c
/home/Israel/php-5.1.4/ext/dom/php_dom.h
/home/Israel/php-5.1.4/ext/dom/php_dom.o
/home/Israel/php-5.1.4/ext/dom/php_dom.lo
/home/Israel/php-5.1.4/ext/fdf/php_fdf.h
/home/Israel/php-5.1.4/ext/ftp/php_ftp.c
/home/Israel/php-5.1.4/ext/ftp/php_ftp.h
/home/Israel/php-5.1.4/ext/gmp/php_gmp.h
/home/Israel/php-5.1.4/ext/pdo/php_pdo_int.h
/home/Israel/php-5.1.4/ext/pdo/php_pdo.h
/home/Israel/php-5.1.4/ext/pdo/php_pdo_driver.h
/home/Israel/php-5.1.4/ext/spl/php_spl.c
/home/Israel/php-5.1.4/ext/spl/php_spl.h
/home/Israel/php-5.1.4/ext/spl/php_spl.o
/home/Israel/php-5.1.4/ext/spl/php_spl.lo
/home/Israel/php-5.1.4/ext/xml/php_xml.h
/home/Israel/php-5.1.4/ext/xsl/php_xsl.c
/home/Israel/php-5.1.4/ext/xsl/php_xsl.h
/home/Israel/php-5.1.4/ext/date/php_date.c
/home/Israel/php-5.1.4/ext/date/php_date.h
/home/Israel/php-5.1.4/ext/date/php_date.o
/home/Israel/php-5.1.4/ext/date/php_date.lo
/home/Israel/php-5.1.4/ext/curl/php_curl.h
/home/Israel/php-5.1.4/ext/exif/php_exif.h
/home/Israel/php-5.1.4/ext/hash/php_hash.h
/home/Israel/php-5.1.4/ext/hash/php_hash_ripemd.h
/home/Israel/php-5.1.4/ext/hash/php_hash_sha.h
/home/Israel/php-5.1.4/ext/hash/php_hash_whirlpool.h
/home/Israel/php-5.1.4/ext/hash/php_hash_snefru.h
/home/Israel/php-5.1.4/ext/hash/php_hash_tiger_tables.h
/home/Israel/php-5.1.4/ext/hash/php_hash_whirlpool_tables.h
/home/Israel/php-5.1.4/ext/hash/php_hash_crc32.h
/home/Israel/php-5.1.4/ext/hash/php_hash_salsa.h
/home/Israel/php-5.1.4/ext/hash/php_hash_md.h
/home/Israel/php-5.1.4/ext/hash/php_hash_tiger.h
/home/Israel/php-5.1.4/ext/hash/php_hash_gost_tables.h
/home/Israel/php-5.1.4/ext/hash/php_hash_gost.h
/home/Israel/php-5.1.4/ext/hash/php_hash_crc32_tables.h
/home/Israel/php-5.1.4/ext/hash/php_hash_haval.h
/home/Israel/php-5.1.4/ext/hash/php_hash_adler32.h
/home/Israel/php-5.1.4/ext/hash/php_hash_types.h
/home/Israel/php-5.1.4/ext/hash/php_hash_snefru_tables.h
/home/Israel/php-5.1.4/ext/imap/php_imap.c
/home/Israel/php-5.1.4/ext/imap/php_imap.h
/home/Israel/php-5.1.4/ext/ldap/php_ldap.h
/home/Israel/php-5.1.4/ext/ming/php_ming.h
/home/Israel/php-5.1.4/ext/msql/php_msql.c
/home/Israel/php-5.1.4/ext/msql/php_msql.h
/home/Israel/php-5.1.4/ext/oci8/php_oci8.h
/home/Israel/php-5.1.4/ext/oci8/php_oci8_int.h
/home/Israel/php-5.1.4/ext/odbc/php_odbc.c
/home/Israel/php-5.1.4/ext/odbc/php_odbc.h
/home/Israel/php-5.1.4/ext/odbc/php_odbc_includes.h
/home/Israel/php-5.1.4/ext/odbc/php_birdstep.h
/home/Israel/php-5.1.4/ext/pcre/php_pcre.c
/home/Israel/php-5.1.4/ext/pcre/php_pcre.h
/home/Israel/php-5.1.4/ext/pcre/php_pcre.def
/home/Israel/php-5.1.4/ext/pcre/php_pcre.o
/home/Israel/php-5.1.4/ext/pcre/php_pcre.lo
/home/Israel/php-5.1.4/ext/soap/php_http.c
/home/Israel/php-5.1.4/ext/soap/php_http.h
/home/Israel/php-5.1.4/ext/soap/php_encoding.c
/home/Israel/php-5.1.4/ext/soap/php_encoding.h
/home/Israel/php-5.1.4/ext/soap/php_soap.h
/home/Israel/php-5.1.4/ext/soap/php_packet_soap.c
/home/Israel/php-5.1.4/ext/soap/php_packet_soap.h
/home/Israel/php-5.1.4/ext/soap/php_soap.dsp
/home/Israel/php-5.1.4/ext/soap/php_sdl.c
/home/Israel/php-5.1.4/ext/soap/php_sdl.h
/home/Israel/php-5.1.4/ext/soap/php_xml.c
/home/Israel/php-5.1.4/ext/soap/php_xml.h
/home/Israel/php-5.1.4/ext/soap/php_schema.c
/home/Israel/php-5.1.4/ext/soap/php_schema.h
/home/Israel/php-5.1.4/ext/snmp/php_snmp.h
/home/Israel/php-5.1.4/ext/tidy/php_tidy.h
/home/Israel/php-5.1.4/ext/tidy/php_tidy.def
/home/Israel/php-5.1.4/ext/wddx/php_wddx.h
/home/Israel/php-5.1.4/ext/wddx/php_wddx_api.h
/home/Israel/php-5.1.4/ext/zlib/php_zlib.h
/home/Israel/php-5.1.4/ext/zlib/php_zlib.def
/home/Israel/php-5.1.4/ext/dbase/php_dbase.h
/home/Israel/php-5.1.4/ext/ctype/php_ctype.h
/home/Israel/php-5.1.4/ext/fbsql/php_fbsql.c
/home/Israel/php-5.1.4/ext/fbsql/php_fbsql.h
/home/Israel/php-5.1.4/ext/iconv/php_iconv.def
/home/Israel/php-5.1.4/ext/iconv/php_iconv.h
/home/Israel/php-5.1.4/ext/iconv/php_have_bsd_iconv.h
/home/Israel/php-5.1.4/ext/iconv/php_have_glibc_iconv.h
/home/Israel/php-5.1.4/ext/iconv/php_have_libiconv.h
/home/Israel/php-5.1.4/ext/iconv/php_have_iconv.h
/home/Israel/php-5.1.4/ext/iconv/php_php_iconv_impl.h
/home/Israel/php-5.1.4/ext/iconv/php_php_iconv_h_path.h
/home/Israel/php-5.1.4/ext/iconv/php_iconv_supports_errno.h
/home/Israel/php-5.1.4/ext/hwapi/php_hwapi.h
/home/Israel/php-5.1.4/ext/mhash/php_mhash.h
/home/Israel/php-5.1.4/ext/mssql/php_mssql.c
/home/Israel/php-5.1.4/ext/mssql/php_mssql.h
/home/Israel/php-5.1.4/ext/mysql/php_mysql.c
/home/Israel/php-5.1.4/ext/mysql/php_mysql.h
/home/Israel/php-5.1.4/ext/pcntl/php_pcntl.h
/home/Israel/php-5.1.4/ext/pcntl/php_signal.c
/home/Israel/php-5.1.4/ext/pcntl/php_signal.h
/home/Israel/php-5.1.4/ext/pgsql/tests/php.gif
/home/Israel/php-5.1.4/ext/pgsql/php_pgsql.h
/home/Israel/php-5.1.4/ext/posix/php_posix.h
/home/Israel/php-5.1.4/ext/shmop/php_shmop.h
/home/Israel/php-5.1.4/ext/pdo_dblib/php_pdo_dblib.h
/home/Israel/php-5.1.4/ext/pdo_dblib/php_pdo_dblib_int.h
/home/Israel/php-5.1.4/ext/pdo_mysql/php_pdo_mysql_sqlstate.h
/home/Israel/php-5.1.4/ext/pdo_mysql/php_pdo_mysql.h
/home/Israel/php-5.1.4/ext/pdo_mysql/php_pdo_mysql_int.h
/home/Israel/php-5.1.4/ext/pdo_pgsql/php_pdo_pgsql_int.h
/home/Israel/php-5.1.4/ext/pdo_pgsql/php_pdo_pgsql.h
/home/Israel/php-5.1.4/ext/pdo_sqlite/php_pdo_sqlite.h
/home/Israel/php-5.1.4/ext/pdo_sqlite/php_pdo_sqlite_int.h
/home/Israel/php-5.1.4/ext/session/php_session.h
/home/Israel/php-5.1.4/ext/sockets/php_sockets.h
/home/Israel/php-5.1.4/ext/sockets/php_sockets_win.c
/home/Israel/php-5.1.4/ext/sockets/php_sockets_win.h
/home/Israel/php-5.1.4/ext/filepro/php_filepro.h
/home/Israel/php-5.1.4/ext/calendar/php_calendar.h
/home/Israel/php-5.1.4/ext/bcmath/php_bcmath.h
/home/Israel/php-5.1.4/ext/skeleton/php_skeleton.h
/home/Israel/php-5.1.4/ext/ncurses/php_ncurses_fe.h
/home/Israel/php-5.1.4/ext/ncurses/php_ncurses.h
/home/Israel/php-5.1.4/ext/gettext/php_gettext.h
/home/Israel/php-5.1.4/ext/sysvmsg/php_sysvmsg.h
/home/Israel/php-5.1.4/ext/sysvsem/php_sysvsem.h
/home/Israel/php-5.1.4/ext/sysvshm/php_sysvshm.h
/home/Israel/php-5.1.4/ext/tokenizer/php_tokenizer.h
/home/Israel/php-5.1.4/ext/libxml/php_libxml.h
/home/Israel/php-5.1.4/ext/libxml/php_libxml2.def
/home/Israel/php-5.1.4/ext/mcrypt/php_mcrypt.h
/home/Israel/php-5.1.4/ext/reflection/php_reflection.c
/home/Israel/php-5.1.4/ext/reflection/php_reflection.h
/home/Israel/php-5.1.4/ext/reflection/php_reflection.o
/home/Israel/php-5.1.4/ext/reflection/php_reflection.lo
/home/Israel/php-5.1.4/ext/mysqli/php_mysqli.h
/home/Israel/php-5.1.4/ext/mime_magic/phpmimemagic.h
/home/Israel/php-5.1.4/ext/mime_magic/php_mime_magic.h
/home/Israel/php-5.1.4/ext/pspell/php_pspell.h
/home/Israel/php-5.1.4/ext/mbstring/tests/php_gr_jp_dev_884-1.phpt
/home/Israel/php-5.1.4/ext/mbstring/tests/php_gr_jp_dev_884-2.phpt
/home/Israel/php-5.1.4/ext/mbstring/tests/php_gr_jp_16242.phpt
/home/Israel/php-5.1.4/ext/mbstring/tests/php_gr_jp_10830.phpt
/home/Israel/php-5.1.4/ext/mbstring/php_unicode.c
/home/Israel/php-5.1.4/ext/mbstring/php_unicode.h
/home/Israel/php-5.1.4/ext/mbstring/oniguruma/php_onig_compat.h
/home/Israel/php-5.1.4/ext/mbstring/php_mbregex.c
/home/Israel/php-5.1.4/ext/mbstring/php_mbregex.h
/home/Israel/php-5.1.4/ext/recode/php_recode.h
/home/Israel/php-5.1.4/ext/sqlite/php_sqlite.def
/home/Israel/php-5.1.4/ext/sqlite/php_sqlite.h
/home/Israel/php-5.1.4/ext/sybase/php_sybase_db.c
/home/Israel/php-5.1.4/ext/sybase/php_sybase_db.h
/home/Israel/php-5.1.4/ext/sybase_ct/php_sybase_ct.c
/home/Israel/php-5.1.4/ext/sybase_ct/php_sybase_ct.h
/home/Israel/php-5.1.4/ext/standard/php_ftok.h
/home/Israel/php-5.1.4/ext/standard/php_http.h
/home/Israel/php-5.1.4/ext/standard/php_iptc.h
/home/Israel/php-5.1.4/ext/standard/php_link.h
/home/Israel/php-5.1.4/ext/standard/php_mail.h
/home/Israel/php-5.1.4/ext/standard/php_math.h
/home/Israel/php-5.1.4/ext/standard/php_rand.h
/home/Israel/php-5.1.4/ext/standard/php_type.h
/home/Israel/php-5.1.4/ext/standard/php_versioning.h
/home/Israel/php-5.1.4/ext/standard/php_ext_syslog.h
/home/Israel/php-5.1.4/ext/standard/php_browscap.h
/home/Israel/php-5.1.4/ext/standard/php_array.h
/home/Israel/php-5.1.4/ext/standard/php_uuencode.h
/home/Israel/php-5.1.4/ext/standard/php_image.h
/home/Israel/php-5.1.4/ext/standard/php_metaphone.h
/home/Israel/php-5.1.4/ext/standard/php_fopen_wrapper.c
/home/Israel/php-5.1.4/ext/standard/php_smart_str.h
/home/Israel/php-5.1.4/ext/standard/php_string.h
/home/Israel/php-5.1.4/ext/standard/php_assert.h
/home/Israel/php-5.1.4/ext/standard/php_crypt.h
/home/Israel/php-5.1.4/ext/standard/php_filestat.h
/home/Israel/php-5.1.4/ext/standard/php_dir.h
/home/Israel/php-5.1.4/ext/standard/php_lcg.h
/home/Israel/php-5.1.4/ext/standard/php_var.h
/home/Israel/php-5.1.4/ext/standard/php_smart_str_public.h
/home/Israel/php-5.1.4/ext/standard/php_incomplete_class.h
/home/Israel/php-5.1.4/ext/standard/php_standard.h
/home/Israel/php-5.1.4/ext/standard/php_fopen_wrappers.h
/home/Israel/php-5.1.4/ext/standard/php_fopen_wrapper.o
/home/Israel/php-5.1.4/ext/standard/php_fopen_wrapper.lo
/home/Israel/php-5.1.4/ext/xmlrpc/php_xmlrpc.h
/home/Israel/php-5.1.4/ext/pdo_firebird/php_pdo_firebird_int.h
/home/Israel/php-5.1.4/ext/pdo_firebird/php_pdo_firebird.h
/home/Israel/php-5.1.4/ext/pdo_odbc/php_pdo_odbc_int.h
/home/Israel/php-5.1.4/ext/pdo_odbc/php_pdo_odbc.h
/home/Israel/php-5.1.4/ext/com_dotnet/php_com_dotnet_internal.h
/home/Israel/php-5.1.4/ext/com_dotnet/php_com_dotnet.h
/home/Israel/php-5.1.4/ext/openssl/php_openssl.h
/home/Israel/php-5.1.4/ext/pdo_oci/php_pdo_oci_int.h
/home/Israel/php-5.1.4/ext/pdo_oci/php_pdo_oci.h
/home/Israel/php-5.1.4/ext/simplexml/php_simplexml.h
/home/Israel/php-5.1.4/ext/simplexml/php_simplexml_exports.h
/home/Israel/php-5.1.4/ext/informix/php_informix.h
/home/Israel/php-5.1.4/ext/informix/php_informix_includes.h
/home/Israel/php-5.1.4/ext/readline/php_readline.h
/home/Israel/php-5.1.4/ext/interbase/php_interbase.h
/home/Israel/php-5.1.4/ext/interbase/php_ibase_includes.h
/home/Israel/php-5.1.4/ext/interbase/php_ibase_udf.c
/home/Israel/php-5.1.4/ext/xmlreader/php_xmlreader.c
/home/Israel/php-5.1.4/ext/xmlreader/php_xmlreader.h
/home/Israel/php-5.1.4/ext/xmlreader/php_xmlreader.o
/home/Israel/php-5.1.4/ext/xmlreader/php_xmlreader.lo
/home/Israel/php-5.1.4/ext/xmlwriter/php_xmlwriter.c
/home/Israel/php-5.1.4/ext/xmlwriter/php_xmlwriter.h
/home/Israel/php-5.1.4/ext/xmlwriter/php_xmlwriter.o
/home/Israel/php-5.1.4/ext/xmlwriter/php_xmlwriter.lo
/home/Israel/php-5.1.4/main/php_sprintf.c
/home/Israel/php-5.1.4/main/php_compat.h
/home/Israel/php-5.1.4/main/php_open_temporary_file.c
/home/Israel/php-5.1.4/main/php_open_temporary_file.h
/home/Israel/php-5.1.4/main/php_globals.h
/home/Israel/php-5.1.4/main/php_main.h
/home/Israel/php-5.1.4/main/php3_compat.h
/home/Israel/php-5.1.4/main/php.h
/home/Israel/php-5.1.4/main/php_output.h
/home/Israel/php-5.1.4/main/php_version.h
/home/Israel/php-5.1.4/main/php_syslog.h
/home/Israel/php-5.1.4/main/php_variables.c
/home/Israel/php-5.1.4/main/php_variables.h
/home/Israel/php-5.1.4/main/php_streams.h
/home/Israel/php-5.1.4/main/streams/php_streams_int.h
/home/Israel/php-5.1.4/main/streams/php_stream_userspace.h
/home/Israel/php-5.1.4/main/streams/php_stream_context.h
/home/Israel/php-5.1.4/main/streams/php_stream_filter_api.h
/home/Israel/php-5.1.4/main/streams/php_stream_mmap.h
/home/Israel/php-5.1.4/main/streams/php_stream_transport.h
/home/Israel/php-5.1.4/main/streams/php_stream_plain_wrapper.h
/home/Israel/php-5.1.4/main/php_reentrancy.h
/home/Israel/php-5.1.4/main/php_content_types.c
/home/Israel/php-5.1.4/main/php_content_types.h
/home/Israel/php-5.1.4/main/php_regex.h
/home/Israel/php-5.1.4/main/php_ini.c
/home/Israel/php-5.1.4/main/php_ini.h
/home/Israel/php-5.1.4/main/php_scandir.c
/home/Israel/php-5.1.4/main/php_scandir.h
/home/Israel/php-5.1.4/main/php_logos.c
/home/Israel/php-5.1.4/main/php_logos.h
/home/Israel/php-5.1.4/main/php_config.h.in
/home/Israel/php-5.1.4/main/php_network.h
/home/Israel/php-5.1.4/main/php_ticks.c
/home/Israel/php-5.1.4/main/php_ticks.h
/home/Israel/php-5.1.4/main/php_memory_streams.h
/home/Israel/php-5.1.4/main/php_config.h
/home/Israel/php-5.1.4/main/php_sprintf.o
/home/Israel/php-5.1.4/main/php_sprintf.lo
/home/Israel/php-5.1.4/main/php_content_types.o
/home/Israel/php-5.1.4/main/php_scandir.o
/home/Israel/php-5.1.4/main/php_scandir.lo
/home/Israel/php-5.1.4/main/php_ini.o
/home/Israel/php-5.1.4/main/php_ini.lo
/home/Israel/php-5.1.4/main/php_content_types.lo
/home/Israel/php-5.1.4/main/php_variables.o
/home/Israel/php-5.1.4/main/php_variables.lo
/home/Israel/php-5.1.4/main/php_ticks.o
/home/Israel/php-5.1.4/main/php_ticks.lo
/home/Israel/php-5.1.4/main/php_logos.o
/home/Israel/php-5.1.4/main/php_open_temporary_file.o
/home/Israel/php-5.1.4/main/php_open_temporary_file.lo
/home/Israel/php-5.1.4/main/php_logos.lo
/home/Israel/php-5.1.4/sapi/cgi/php_getopt.h
/home/Israel/php-5.1.4/sapi/cgi/php.sym
/home/Israel/php-5.1.4/sapi/cgi/php
/home/Israel/php-5.1.4/sapi/cli/php_getopt.h
/home/Israel/php-5.1.4/sapi/cli/php_cli_readline.c
/home/Israel/php-5.1.4/sapi/cli/php_cli_readline.h
/home/Israel/php-5.1.4/sapi/cli/php.1.in
/home/Israel/php-5.1.4/sapi/cli/php_cli.c
/home/Israel/php-5.1.4/sapi/cli/php.1
/home/Israel/php-5.1.4/sapi/cli/php_cli.o
/home/Israel/php-5.1.4/sapi/cli/php_cli.lo
/home/Israel/php-5.1.4/sapi/cli/php
/home/Israel/php-5.1.4/sapi/cli/php_cli_readline.o
/home/Israel/php-5.1.4/sapi/cli/php_cli_readline.lo
/home/Israel/php-5.1.4/sapi/tux/php_tux.c
/home/Israel/php-5.1.4/sapi/tux/php.sym
/home/Israel/php-5.1.4/sapi/embed/php5embed.dsp
/home/Israel/php-5.1.4/sapi/embed/php_embed.c
/home/Israel/php-5.1.4/sapi/embed/php_embed.h
/home/Israel/php-5.1.4/sapi/isapi/php5isapi.def
/home/Israel/php-5.1.4/sapi/isapi/php5isapi.dsp
/home/Israel/php-5.1.4/sapi/isapi/php5isapi.c
/home/Israel/php-5.1.4/sapi/isapi/php.sym
/home/Israel/php-5.1.4/sapi/nsapi/php5nsapi.dsp
/home/Israel/php-5.1.4/sapi/apache/php5apache.dsp
/home/Israel/php-5.1.4/sapi/apache/php_apache.c
/home/Israel/php-5.1.4/sapi/apache/php.sym
/home/Israel/php-5.1.4/sapi/apache/php_apache_http.h
/home/Israel/php-5.1.4/sapi/apache2filter/php_functions.c
/home/Israel/php-5.1.4/sapi/apache2filter/php_apache.h
/home/Israel/php-5.1.4/sapi/apache2filter/php.sym
/home/Israel/php-5.1.4/sapi/apache_hooks/php5apache_hooks.dsp
/home/Israel/php-5.1.4/sapi/apache_hooks/php_apache.c
/home/Israel/php-5.1.4/sapi/apache_hooks/php.sym
/home/Israel/php-5.1.4/sapi/apache_hooks/php_apache_http.h
/home/Israel/php-5.1.4/sapi/milter/php_getopt.h
/home/Israel/php-5.1.4/sapi/milter/php_milter.c
/home/Israel/php-5.1.4/sapi/milter/php_milter.h
/home/Israel/php-5.1.4/sapi/pi3web/php5pi3web.dsp
/home/Israel/php-5.1.4/sapi/pi3web/php.sym
/home/Israel/php-5.1.4/sapi/phttpd/php.sym
/home/Israel/php-5.1.4/sapi/phttpd/php_phttpd.h
/home/Israel/php-5.1.4/sapi/thttpd/php_thttpd.h
/home/Israel/php-5.1.4/sapi/thttpd/php.sym
/home/Israel/php-5.1.4/sapi/apache2handler/php_functions.c
/home/Israel/php-5.1.4/sapi/apache2handler/php5apache2.dsp
/home/Israel/php-5.1.4/sapi/apache2handler/php_apache.h
/home/Israel/php-5.1.4/sapi/apache2handler/php.sym
/home/Israel/php-5.1.4/sapi/webjames/php_webjames.h
/home/Israel/php-5.1.4/sapi/aolserver/php5aolserver.dsp
/home/Israel/php-5.1.4/sapi/aolserver/php.sym
/home/Israel/php-5.1.4/php.ini-recommended
/home/Israel/php-5.1.4/win32/php5ts_cli.dsp
/home/Israel/php-5.1.4/win32/php5ts_cli.rc2
/home/Israel/php-5.1.4/win32/php5ts.dsp
/home/Israel/php-5.1.4/win32/php5ts.dsw
/home/Israel/php-5.1.4/win32/php5ts.rc2
/home/Israel/php-5.1.4/win32/php_registry.h
/home/Israel/php-5.1.4/win32/php_modules.dsw
/home/Israel/php-5.1.4/win32/build/php.ico
/home/Israel/php-5.1.4/win32/php5dllts.rc
/home/Israel/php-5.1.4/win32/php5ts.rc
/home/Israel/php-5.1.4/win32/php_win32_globals.h
/home/Israel/php-5.1.4/win32/php5.dsp
/home/Israel/php-5.1.4/win32/php5.dsw
/home/Israel/php-5.1.4/win32/php5dll.dsp
/home/Israel/php-5.1.4/win32/php5dllts.dsp
/home/Israel/php-5.1.4/win32/php5dllts.rc2
/home/Israel/php-5.1.4/win32/php5ts_cli.rc
/home/Israel/php-5.1.4/php.ini-dist
/home/Israel/php-5.1.4/scripts/dev/phpextdist
/home/Israel/php-5.1.4/scripts/man1/phpize.1.in
/home/Israel/php-5.1.4/scripts/man1/php-config.1.in
/home/Israel/php-5.1.4/scripts/man1/phpize.1
/home/Israel/php-5.1.4/scripts/man1/php-config.1
/home/Israel/php-5.1.4/scripts/php-config.in
/home/Israel/php-5.1.4/scripts/phpize.m4
/home/Israel/php-5.1.4/scripts/phpize.in
/home/Israel/php-5.1.4/scripts/phpize
/home/Israel/php-5.1.4/scripts/php-config
/home/Israel/php-5.1.4/php5.spec.in
/home/Israel/php-5.1.4/php.gif
/home/Israel/php-5.1.4/php5.spec
/etc/alternatives/php-cgi.1.gz
/etc/alternatives/php-cgi
/etc/alternatives/php-cgi-bin
/etc/cron.d/php5
/etc/apache2/mods-available/php5.load
/etc/apache2/mods-available/php5.conf
/etc/php5
/etc/php5/apache2/php.ini
/etc/php4
/etc/php4/cgi/php.ini
/mnt/hda1/Program Files/Notepad++/plugins/APIs/php.api
/mnt/hda1/unzipped/phpBB-2.0.21
/mnt/hda1/unzipped/phpBB-2.0.21/phpBB2
/usr/bin/php4-cgi
/usr/bin/php-cgi
/usr/lib/php5
/usr/lib/cgi-bin/php4
/usr/lib/cgi-bin/php
/usr/lib/php4
/usr/local/bin/php
/usr/local/bin/phpize
/usr/local/bin/php-config
/usr/local/lib/php
/usr/local/lib/php/build/phpize.m4
/usr/local/man/man1/phpize.1
/usr/local/man/man1/php-config.1
/usr/local/include/php
/usr/local/include/php/ext/libxml/php_libxml.h
/usr/local/include/php/ext/pcre/php_pcre.h
/usr/local/include/php/ext/date/php_date.h
/usr/local/include/php/ext/hash/php_hash.h
/usr/local/include/php/ext/hash/php_hash_md.h
/usr/local/include/php/ext/hash/php_hash_sha.h
/usr/local/include/php/ext/hash/php_hash_ripemd.h
/usr/local/include/php/ext/hash/php_hash_haval.h
/usr/local/include/php/ext/hash/php_hash_tiger.h
/usr/local/include/php/ext/hash/php_hash_gost.h
/usr/local/include/php/ext/hash/php_hash_snefru.h
/usr/local/include/php/ext/hash/php_hash_whirlpool.h
/usr/local/include/php/ext/hash/php_hash_adler32.h
/usr/local/include/php/ext/hash/php_hash_crc32.h
/usr/local/include/php/ext/hash/php_hash_types.h
/usr/local/include/php/ext/iconv/php_have_bsd_iconv.h
/usr/local/include/php/ext/iconv/php_have_glibc_iconv.h
/usr/local/include/php/ext/iconv/php_have_iconv.h
/usr/local/include/php/ext/iconv/php_have_libiconv.h
/usr/local/include/php/ext/iconv/php_iconv.h
/usr/local/include/php/ext/iconv/php_iconv_supports_errno.h
/usr/local/include/php/ext/iconv/php_php_iconv_h_path.h
/usr/local/include/php/ext/iconv/php_php_iconv_impl.h
/usr/local/include/php/ext/pdo/php_pdo.h
/usr/local/include/php/ext/pdo/php_pdo_driver.h
/usr/local/include/php/ext/session/php_session.h
/usr/local/include/php/ext/standard/php_array.h
/usr/local/include/php/ext/standard/php_assert.h
/usr/local/include/php/ext/standard/php_browscap.h
/usr/local/include/php/ext/standard/php_crypt.h
/usr/local/include/php/ext/standard/php_dir.h
/usr/local/include/php/ext/standard/php_ext_syslog.h
/usr/local/include/php/ext/standard/php_filestat.h
/usr/local/include/php/ext/standard/php_fopen_wrappers.h
/usr/local/include/php/ext/standard/php_ftok.h
/usr/local/include/php/ext/standard/php_http.h
/usr/local/include/php/ext/standard/php_image.h
/usr/local/include/php/ext/standard/php_incomplete_class.h
/usr/local/include/php/ext/standard/php_iptc.h
/usr/local/include/php/ext/standard/php_lcg.h
/usr/local/include/php/ext/standard/php_link.h
/usr/local/include/php/ext/standard/php_mail.h
/usr/local/include/php/ext/standard/php_math.h
/usr/local/include/php/ext/standard/php_metaphone.h
/usr/local/include/php/ext/standard/php_rand.h
/usr/local/include/php/ext/standard/php_smart_str.h
/usr/local/include/php/ext/standard/php_smart_str_public.h
/usr/local/include/php/ext/standard/php_standard.h
/usr/local/include/php/ext/standard/php_string.h
/usr/local/include/php/ext/standard/php_type.h
/usr/local/include/php/ext/standard/php_uuencode.h
/usr/local/include/php/ext/standard/php_var.h
/usr/local/include/php/ext/standard/php_versioning.h
/usr/local/include/php/ext/xml/php_xml.h
/usr/local/include/php/main/streams/php_stream_context.h
/usr/local/include/php/main/streams/php_stream_filter_api.h
/usr/local/include/php/main/streams/php_stream_mmap.h
/usr/local/include/php/main/streams/php_stream_plain_wrapper.h
/usr/local/include/php/main/streams/php_streams_int.h
/usr/local/include/php/main/streams/php_stream_transport.h
/usr/local/include/php/main/streams/php_stream_userspace.h
/usr/local/include/php/main/php3_compat.h
/usr/local/include/php/main/php_compat.h
/usr/local/include/php/main/php_config.h
/usr/local/include/php/main/php_content_types.h
/usr/local/include/php/main/php_globals.h
/usr/local/include/php/main/php.h
/usr/local/include/php/main/php_ini.h
/usr/local/include/php/main/php_logos.h
/usr/local/include/php/main/php_main.h
/usr/local/include/php/main/php_memory_streams.h
/usr/local/include/php/main/php_network.h
/usr/local/include/php/main/php_open_temporary_file.h
/usr/local/include/php/main/php_output.h
/usr/local/include/php/main/php_reentrancy.h
/usr/local/include/php/main/php_regex.h
/usr/local/include/php/main/php_scandir.h
/usr/local/include/php/main/php_streams.h
/usr/local/include/php/main/php_syslog.h
/usr/local/include/php/main/php_ticks.h
/usr/local/include/php/main/php_variables.h
/usr/local/include/php/main/php_version.h
/usr/share/apps/katepart/syntax/php.xml
/usr/share/apps/quanta/doc/php
/usr/share/apps/quanta/doc/php/phpdevel.html
/usr/share/apps/quanta/doc/php/phpdevel-errors.html
/usr/share/dfm/icons/phppg.xpm
/usr/share/doc/php5-mysql
/usr/share/doc/php5
/usr/share/doc/php4-common
/usr/share/doc/php4-common/examples/php.ini-dist
/usr/share/doc/php4-common/examples/php.ini-paranoid
/usr/share/doc/php4-common/examples/php.ini-recommended
/usr/share/doc/php5-common
/usr/share/doc/php5-common/examples/php.ini-recommended
/usr/share/doc/php5-common/examples/php.ini-paranoid
/usr/share/doc/php5-common/examples/php.ini-dist
/usr/share/doc/php4-cgi
/usr/share/doc/php4-mysql
/usr/share/icons/crystalsvg/128x128/apps/phppg.png
/usr/share/icons/crystalsvg/16x16/apps/phppg.png
/usr/share/icons/crystalsvg/32x32/apps/phppg.png
/usr/share/icons/crystalsvg/48x48/apps/phppg.png
/usr/share/icons/crystalsvg/64x64/apps/phppg.png
/usr/share/linda/overrides/php4-common
/usr/share/linda/overrides/php5-common
/usr/share/lintian/overrides/php4-common
/usr/share/lintian/overrides/php5-common
/usr/share/man/man1/php4-cgi.1.gz
/usr/share/man/man1/php-cgi.1.gz
/usr/share/php4
/usr/share/php4/php.ini-dist
/usr/share/services/searchproviders/php.desktop
/usr/share/php5
/usr/share/php5/php.ini-dist
/usr/share/eskuel/phpinfo.php
/usr/share/eskuel/tpl/phptools4u
/var/lib/dpkg/alternatives/php-cgi-bin
/var/lib/dpkg/alternatives/php-cgi
/var/lib/dpkg/info/php4-common.conffiles
/var/lib/dpkg/info/php4-common.list
/var/lib/dpkg/info/php4-common.md5sums
/var/lib/dpkg/info/php4-common.postrm
/var/lib/dpkg/info/php5-common.postrm
/var/lib/dpkg/info/php5-common.list
/var/lib/dpkg/info/php5-mysql.list
/var/lib/dpkg/info/php5-mysql.prerm
/var/lib/dpkg/info/php5.list
/var/lib/dpkg/info/php5-mysql.postrm
/var/lib/dpkg/info/php5-common.conffiles
/var/lib/dpkg/info/php5-common.md5sums
/var/lib/dpkg/info/php5-mysql.config
/var/lib/dpkg/info/php5-mysql.templates
/var/lib/dpkg/info/php5-mysql.postinst
/var/lib/dpkg/info/php5-mysql.md5sums
/var/lib/dpkg/info/php4-cgi.config
/var/lib/dpkg/info/php4-cgi.list
/var/lib/dpkg/info/php4-cgi.templates
/var/lib/dpkg/info/php4-cgi.postinst
/var/lib/dpkg/info/php4-cgi.prerm
/var/lib/dpkg/info/php4-cgi.postrm
/var/lib/dpkg/info/php4-cgi.md5sums
/var/lib/dpkg/info/php4-mysql.config
/var/lib/dpkg/info/php4-mysql.list
/var/lib/dpkg/info/php4-mysql.templates
/var/lib/dpkg/info/php4-mysql.postinst
/var/lib/dpkg/info/php4-mysql.prerm
/var/lib/dpkg/info/php4-mysql.postrm
/var/lib/dpkg/info/php4-mysql.md5sums
/var/lib/php4
/var/lib/php5



Anyone know what I'm missing?
Was This Post Helpful? 0
  • +
  • -

#13 snoj   User is offline

  • Married Life
  • member icon

Reputation: 93
  • View blog
  • Posts: 3,583
  • Joined: 31-March 03

Re: Parse error with MySQL test

Posted 26 July 2006 - 09:37 PM

Have you updated your apache config file?
Was This Post Helpful? 0
  • +
  • -

#14 Israel   User is offline

  • D.I.C Addict
  • member icon

Reputation: 7
  • View blog
  • Posts: 833
  • Joined: 22-November 04

Re: Parse error with MySQL test

Posted 26 July 2006 - 09:47 PM

How would you recommend going about that? I know how to upgrade it, do I need to do something else?
Was This Post Helpful? 0
  • +
  • -

#15 Spider   User is offline

  • Arachnid

Reputation: 2
  • View blog
  • Posts: 769
  • Joined: 10-July 02

Re: Parse error with MySQL test

Posted 27 July 2006 - 06:19 AM

Have you been following a tutorial of some kind to install it, or just the instructions given with the PHP stuff?

I would highly recommend finding yourself a step by step tutorial for the versions you're running, even if that means starting over it would be better to get it all right than do a botch job!
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2