barry6628 Posted July 16, 2007 Share Posted July 16, 2007 Hi After reading another posting I changed my php.ini to Display startup erors =on No I get the following warning I hope these can be used to point me in the right direction. PHP Startup: Unable toload dynmic library C:\php5\ext\c:\php5\ext\ The specified module could not be found. (Im not supprised how and where is the doubled file name). Also c:\php5\ext php_sqlite.dll The specified module could not be found. But it is in that file. Sorry to be a pain but you know when you start a project and cant get going you just have to get to the bottom of it. regards Barry Link to comment https://forums.phpfreaks.com/topic/60282-solved-startup-errors/ Share on other sites More sharing options...
wildteen88 Posted July 17, 2007 Share Posted July 17, 2007 Interesting error message! Could you post the parts of the php.ini here that you have modified when you went to enable the sqlite extension. Looks like you have set some thing up incorrectly. Link to comment https://forums.phpfreaks.com/topic/60282-solved-startup-errors/#findComment-300486 Share on other sites More sharing options...
barry6628 Posted July 18, 2007 Author Share Posted July 18, 2007 Hi Thanks very much for your interest, I think this is what you asked. ;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;; ; ; If you wish to have an extension loaded automatically, use the following ; syntax: ; ; extension=modulename.extension ; ; For example, on Windows: ; extension="c:/php5/ext/" ; ; ... or under UNIX: ; ; extension=msql.so ; ; Note that it should be the name of the module only; no directory information ; needs to go here. Specify the location of the extension with the ; extension_dir directive above. ; Windows Extensions ; Note that ODBC support is built in, so no dll is needed for it. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5) ; extension folders as well as the separate PECL DLL download (PHP 5). ; Be sure to appropriately set the extension_dir directive. ;extension=php_mbstring.dll ;extension=php_bz2.dll ;extension=php_curl.dll ;extension=php_dba.dll ;extension=php_dbase.dll ;extension=php_exif.dll ;extension=php_fdf.dll ;extension=php_filepro.dll ;extension=php_gd2.dll ;extension=php_gettext.dll ;extension=php_ifx.dll ;extension=php_imap.dll ;extension=php_interbase.dll ;extension=php_ldap.dll ;extension=php_mcrypt.dll ;extension=php_mhash.dll ;extension=php_mime_magic.dll ;extension=php_ming.dll ;extension=php_mssql.dll ;extension=php_msql.dll extension=php_mysql.dll ;extension=php_oci8.dll ;extension=php_openssl.dll ;extension=php_oracle.dll ;extension=php_pgsql.dll ;extension=php_shmop.dll ;extension=php_snmp.dll ;extension=php_sockets.dll extension=php_sqlite.dll ;extension=php_sybase_ct.dll ;extension=php_tidy.dll ;extension=php_xmlrpc.dll ;extension=php_xsl.dll extention=php_pdo.dll ;php_extension=php_sqlite.dll ;;;;;;;;;;;;;;;;;;; Regards Barry Link to comment https://forums.phpfreaks.com/topic/60282-solved-startup-errors/#findComment-300946 Share on other sites More sharing options...
wildteen88 Posted July 18, 2007 Share Posted July 18, 2007 You have added an invalid extension to load: ; For example, on Windows: ; extension="c:/php5/ext/" <<< this line >>> ; ; ... or under UNIX: You don't set up the extension directory path within the the extension= directive you only place the extension file name within that directive, eg php_mysql.dll. Remove or comment out that line above. To comment out place a semi-colon at the beginning of the line. If you want to setup the path for where your php extensions are located to then you'll have to modify the extension_dir directive (located around line 520 within php.ini). You'll want to set the extension_dir directive to the full path to the PHP extension folder, in your case it is C:/php5/ext so extension_dir will be set like this: extension_dir = "C:/php5/ext" Now save your php.ini and restart your web server for the changes to take affect/. Link to comment https://forums.phpfreaks.com/topic/60282-solved-startup-errors/#findComment-301427 Share on other sites More sharing options...
barry6628 Posted July 18, 2007 Author Share Posted July 18, 2007 Hi I was realy hopping that was the answer but I did as you said and there is no change. I dont know if this is relervent but when I do a search on my system for php.ini I get 2 one in c:\ windows and one in C:\php5. I did try taking the one out of Windows and things are still the same. Regards Barry Link to comment https://forums.phpfreaks.com/topic/60282-solved-startup-errors/#findComment-301473 Share on other sites More sharing options...
wildteen88 Posted July 18, 2007 Share Posted July 18, 2007 Can you attach - dont copy 'n' paste the contents of the file but attach your php.ini here for me to look at. EDIT: Topic locked. Answer posted here. Link to comment https://forums.phpfreaks.com/topic/60282-solved-startup-errors/#findComment-301535 Share on other sites More sharing options...
Recommended Posts