Jump to content

Search the Community

Showing results for tags 'configuration'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








Donation Link

Found 5 results

  1. Hello, First of thank you for taking your time reading this, I have a question about what is wrong with my webserver. I made a website using PHP on my local WAMP server. I uploaded it to my webserver this morning and as it turns out something like <?php echo '<p>Hello World</p>'; ?> gets compiled to Hello World '; ?> I honestly have no idea what I have done wrong and I cant seem to find this anywhere... Hope to hear for someone soon Trevi
  2. I have inherited ( 8 ) servers on an intranet using various versions of php as main programming language. Most of these are not web servers. I've been tasked to consolidate and standardize on one (1) php.ini configuration file to be used on all ( 8 ) servers Some of these use odd locations for php.ini For example, a Solaris 10 host uses this configuration file: /usr/local/php-5.2.17/lib/php.ini # /usr/bin/php --info | grep -i php\.ini Configuration File (php.ini) Path => /usr/local/php-5.2.17/lib Loaded Configuration File => /usr/local/php-5.2.17/lib/php.ini # php-config | grep -i ini # php-config | grep -i with-config-file-path [ NO compile time options returned ... ] NONE of the user accounts running php have PHPRC set. Current working directory is whatever directory the user is in at execution time One thing that I need to do is get ALL of these servers using /etc/php.ini - even if that is a symbolic link How can I accomplish this standardization of /etc/php.ini? Please, advise. Thank you.
  3. Hello Freaks! I recently downloaded an ODBC driver to my linux server and after confirming that I could connect and run a query through isql I tried to connection through php. Using odbc_connect I followed the user guide to 'T' and I could not get it to work receiving the error: After searching the forums I decided to run php_info() to find out my php configuration, which is where I found: --with-unixODBC=shared,/usr --without-unixODBC './configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '-- target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '- -bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/usr/share/file/magic.mime' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' What I would like to know is how Can I remove the “without -php-odbc” and “without -unixODBC” and download/install “with-php-odbc” and “with-unixODBC” to the php configuration? Any information would be grateful, thank you in advance. I am running php 5.1.6
  4. I have a bit of an interesting problem concerning the configuration of php and mysql. I cannot configure them to work together. Whenever try to connect to a mysql database, I get the following error: Fatal error: Call to undefined function mysql connect( ) . I am currently using the latest version of mysql and php and am using a Windows 7 box as the server. Due to certain restrictions, I cannot use a preconfigured web server or package (no xampp, apache or easyphp). Therefore, I am pretty much restricted to using the built-in development server that comes with php. So far, I have done the editing to the php.ini file, removed the semicolon from php_mysql.dll to remove the ; and changed extension_dir = "C:\PHP\ext" to reflect my extension folder. I guess the two questions I have are: A) can the php 5.4 included development server even connect to a mysql database B) if so, can anyone provide me with some possible fixes to this configuration problem? Any help given is appreciated.
  5. I've been using WAMPs since I started web development but recently I decided to get my hands a little dirty and to set Apache, PHP, MySQL and phpMyAdmin up by myself. I had been fiddling around in the Apache configuration for a while so I have a little experience. I installed Apache 2.2.22, PHP 5.3.5, MySQL 5.5 and phpMyAdmin 3.5.5 and after a little configuration I got everything to work together. I quickly ran into problems with Apache and my lack of understanding of it. Many of the things that used to work perfectly in the WAMP httpd.conf have either no effect on my fresh install or prevent me from starting the server. Some examples: The ErrorLogFormat directive prevents Apache from starting which is weird because it's part of the core module. Even though I have both mod_info.so and mod_status.so, if I try to start with SetHandler server-info or SetHandler server-status (within Location directives of course) the Apache will not start. For some reason the installation does not come with mod_authz_core.so which I rely on quite a bit (not sure if that's because it's obsolete and has been replaced or what). I don't know enough about compiling Apache or whatever you need to do to add additional modules. Some of the directives I use seem to be completely ignored even though I know the modules are loaded. For example, I made my own index page with handpicked icons. The mod_autoindex.so takes care of these things and I'm using a bunch of AddDescription, AddIcon, AddIconByType and other directives like that. Everything seems to work except that it's unable to find my icons, which are in the server root in a folder called "icons" just like on my WAMP setup so nothing has changed - except that things aren't working. The great thing about the Apache web server is that if it isn't able to start because of misconfiguration it only shows a window saying "The requested operation has failed!". The programmers could just as well have written something like "Hahaha! You idiot! You're screwed now!".
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.