1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Rep Power

    Connecting to Windows share from Linux Ubuntu with PHP


    I have created a PHP application to access and get data from a Firebird / Interbase database that is running and is being acessed by 90 people during the day.

    The database is on a Win2K3 server and its folder is mounted in an Ubuntu Server 64bits which has my PHP application.

    The point is: With a database that is NOT being used by those 90 people i can connect and retrieve my data, but when i am trying to connect production database i am receiving this error: Warning ibase_connect(): no permission for read-write access to database /my/db in v/var/www/index.php on line 17

    The permission to both files were set to 0777 so why only the production db is denying my access?

    Hope somebody can help me.


    Comments on this post

    • mariuz agrees
  2. #2
  3. Bug Hunter
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Transylvania (Romania)
    Rep Power

    Arrow using samba shares will not work

    you need to use servername:/path/database.fdb from you linux machine

    My home page: http://www.firebirdsql.org and work place :http://www.reea.net

IMN logo majestic logo threadwatch logo seochat tools logo